Skip to content

Sajjad177/ReStore-Server

Repository files navigation

Re-Store Project Backend Mangement

📜 Project Overview :

  • Project Concept :This backend for for restore website. Here user can buy and sell there product with dashboard.

🛠 Technology Used :

TypeScript, Mongoose, MongoDB, Cors, dotenv, jsonwebtoken, eslint, express, nodejs


How to Clone and Run the Project Locally :

  1. Clone the repository:
    • First, you need to clone and open your terminal and type:
      git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
  2. Open files in VS Code:
    • After opening the server-side files in VS Code, install npm dependencies both file:
      npm install
  3. Environment setup:
    • In your server side configure environment variables by creating a .env file in the root directory. Add the following variables:
      PORT=3000
      MONGODB_URI=mongodb:add your mongodb url
      
  4. Access the server :
    • Check the tsconfig.json and check whice command add there.
    1. Live reloading for typescript code :
        npm run start
    
    1. The compiled javascript entry point for production environment :
        npm run start:prod
    
    1. Runs the TypeScript compiler to transpile TypeScript files into JavaScript files :
        npm run build
    
    1. Lints defined coding standards and check error :
        npm run lint
    
    1. Automatically fix any linting errors :
        npm run lint:fix
    

About

This is restore server side with advance CRUD operation. Secure jwt authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published