Skip to content

tayyipcanbay/rocket-link-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket Link | Link Sharing App

Overview

Rocket Link is a web application that allows users to create personalized pages to share all their links in one place, similar to linktr.ee. Users can register, log in, create, update, and delete links, and manage their profile through the user-friendly interface.

Features

  • User Registration and Login
  • Profile Management
  • Link Management (Create, Read, Update, Delete)
  • User Dashboard
  • Admin Panel

Frontend

Installation

  1. Clone the repository:
    git clone https://github.com/tayyipcanbay/rocket-link-react.git
  2. Navigate to the project directory:
    cd rocket-link-react
  3. Install the dependencies:
    npm install
  4. Start the development server:
    npm start

File Structure

  • login.js: Handles user login and registration.
  • user.js: Displays the user's profile page with their links.
  • admin.js: Admin panel for managing user links.

Backend

Backend developed by Mustafa Kemal Gördesli. You can find the relevant repository here

Base URL

https://rocket-link-backend.vercel.app/api

User Endpoints

  • Register: /users/register [POST]

    {
        "firstName": "string",
        "lastName": "string",
        "email": "string",
        "password": "string",
        "username": "string"
    }
  • Login: /users/login [POST]

    {
        "username": "string",
        "password": "string"
    }
  • Update Profile Picture: /users/profilepic [POST]

    • Header: Authorization: Bearer {{token}}
    • FormData: profilepic: image
  • Get User Info: /users/ [GET]

    • Header: Authorization: Bearer {{token}}

Link Endpoints

  • Create Link: /links/ [POST]

    • Header: Authorization: Bearer {{token}}
    • Body:
    {
        "title": "string",
        "link": "string"
    }
  • Get All User Links (Admin): /links/ [GET]

    • Header: Authorization: Bearer {{token}}
  • Get Active Links by Username: /links/:username [GET]

  • Update Link: /links/:id [PUT]

    • Header: Authorization: Bearer {{token}}
    • Body:
    {
        "title": "string",
        "link": "string"
    }
  • Delete Link: /links/:id [DELETE]

    • Header: Authorization: Bearer {{token}}

Contribution

Feel free to fork this project, create a feature branch, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •