Skip to content

ryukgod26/GameSync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameSync API

This is a small project created by me.This is a robust backend Api for gamers.They can add games in their profiles in different catofries like Games they have Completed, Games They are Playing and Games they have Dropped. This Project as the Complete Server side logic for the Application.You can Easily build apps or Websites with this Api.(One more Thing I have never Wrote a Readme File before So Please Igmore mistakes in Readme File)


Tabel of Contents


About the Project

This Api provides the core Infrastructure for a social Application or website for Gamers. It handles user Registeration,Login(with JsonWebToken),Profile Management,Games Lists and the ability of users to follow and unfollow each other.It is built with nodejs and expressjs.


Key Features

  • User Authentication: Secure User Registration with Password hashing using bcrypt and login Authentication with jwt(JsonWebToken).
  • Protected Routes: Middleware to Protect Routes which requires user to be Authenticated First.
  • Follow and Unfollow Feature: Users can follow and unfollow other users on the Platform.
  • Profile Management: Users can view and update their profiles.They can also view other Usesr Profiles. Scalable Structure: Organized into routes,controllers, and models for easy Maintainance.

Built With


Getting Started

To Run this Api on your Local Machine, Follow these Steps

Installation

  1. Clone the repository
 git clone [https://github.com/ryukgod26/GameSync.git](https://github.com/ryukgod26/GameSync.git)
  1. Navigate into Project Folder
cd GameSync
  1. Install npm Packages
npm install
  1. Create a .env File: Go to root directory of the Project and create a new .env file.
  2. Configuring .env file:
MONGO_URI = <Your Mongodv Database URI>
JWT_SECRET_KEY = <Your Jwt Secret Key>
  1. Start the server(for Development): For Development
nodemon
  1. Start the server (For Production)
node app.js

API Endpoints

Unauthenticated Routes

Public endpoints that do not require authentication.

AUTHENTICATED ROUTES

These endpoints require a valid JWT. It means you have to login first before you can access these routes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published