Skip to content

RohanKumarMainali/Sadhan-Backend

Repository files navigation

Sadhan-Backend Setup

After cloning the project enter

npm install

it will install all the dependencies and packages

Create a database in mongodb atlas or in your local machine

for mongodb atlas visit https://www.mongodb.com/atlas/database and configure it and for your local machine install mongoose and mongodb compass for UI of database

setup your .env

GOOGLE_KEY=
CLOUDINARY_API_KEY=
KHALTI_API_KEY = 
JWT_SECRET_KEY = 
JWT_REFRESH_KEY = 
SMTP = 
PORT =
EMAIL =
PASSWORD = 
MONGO_URI = 

For development mode enter

npm run dev

for build enter

npm run build

if all of this sounds tediuos, mail me to get docker file so that you can run all of this in one command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •