Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.14 KB

Social.Forum

Social-Forum_banner

This is the BCA 6th-sem project i'm working on.

  • 🐱‍🏍 Live App

Setup and run the Project

☕ Add .env file in the root directory

    PORT=<Input_PORT>
    DB_USER=<Input_DB_USER>
    DB_PASS=<Input_DB_PASS>
    DB_NAME=<Input_DB_NAME>
    SENDGRID_API_KEY=<Input_SENDGRID_API_KEY>
    SESSION_NAME=<Input_SESSION_NAME>
    SESSION_SECRET=<Input_SESSION_SECRET>

package.json

🍿 (Optional) One file For Run database server locally

  • cd/ -To go root of your drive
  • D: -Set drive where mongodb installed
  • <MongoDB_File_with_mongodb_Path> --dbpath=<Your_MongoDB_Data_Path>/
  • Save now and Run Whenever you need.

🍿 One file For Start The Server with view Mode in

  • In terminal type npm run start to start the server
  • Save now and Run Whenever you need.

🍿 One file For Start The Server in Development environment

  • In terminal type npm run dev to start the server in development environment
  • Save now and Run Whenever you need.