Skip to content

JayRathore10/API-Store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API-Store Project

A full-stack application with a React frontend and Node/Express backend.

Local Development (with Docker)

To run the entire stack (Frontend, Backend, and MongoDB) locally using Docker:

  1. Prerequisites: Ensure you have Docker and Docker Compose installed.
  2. Setup Credentials: Make sure you have configured your environment variables in server/.env.
  3. Launch the Application:
    docker-compose up --build
  4. Access the Services:

Environment Variables (.env)

The server requires a .env file in the server/ directory with the following variables:

MONGODB_URI=mongodb://localhost:27017/API-Store (Replaced by 'mongodb' in Docker)
JWT_SECRET=your_jwt_secret
JWT_EXPIRE=7d
PORT=3000

# GitHub OAuth
GITHUB_CLIENT_ID=your_id
GITHUB_CLIENT_SECRET=your_secret
GITHUB_REDIRECT_URI=http://localhost:3000/api/v1/users/github/callback

# Client URL
CLIENT_URL=http://localhost:5173

Features

  • Complete Authentication (Register/Login with JWT)
  • GitHub Social Auth integration
  • Automated database connection
  • Hot reloading for both frontend and backend in Docker

About

A centralized platform for developers to publish, manage, and consume APIs with structured documentation and easy integration. Empowering developers to collaborate and accelerate development by reusing powerful services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors