This is a backend system for the SAC wellness bots, apps and many other interfaces. This system is built on Nodejs and ExpressJs framework. Please fork, clone and star our project. To setup this project, follow the following steps.
git clone https://github.com/Anduhailhack/SAC-backend-system.git
npm i
touch .env
PORT
a port at which the system runsADDR
an address at which the system bindsMONGO_CONN
database connection string containing the connection to a collectionJWT_SECRET
jwt salt for protecting the jwt token, it should be long string with multitude of charactersUSER_ROLE
any number, preferably long integer to uniquely identify the user roleADMIN_ROLE
any number, preferably long integer to uniquely identify the admin roleSP_ROLE
any number, preferably long integer to uniquely identify the service providers roleBASE_WEB_API
a callback url for notifying the changes in the backend
npm run dev
only for dev purposesnpm start
only for production purposes