This project is a backend clone of GitHub, allowing users to register, log in, and access private APIs using JWT authentication. Authenticated users can perform actions such as creating repositories, gists, and more.
Follow these steps to set up the project on your local machine:
Open your terminal (Linux/VS Code) and run:
git clone <repository-url>Navigate to the project folder and install the required Node.js packages:
npm install- Inside the
configfolder, set values for all required keys. - Refer to the
default.jsonfile inside theconfigfolder for better understanding.
To enable automatic server restarts during development:
npm install -g nodemonRun the following command to start the backend:
npm startIf you're stuck or have any questions, feel free to reach out:
Happy Coding! ✨🚀