⚠ under development 👻
Server with express.js & mongoose
-
Make sure you have Node.js (version < 14) installed. NVM is preferred.
-
Clone the repo
git clone https://github.com/meghoshpritam/courses-server.git
-
Move to the project directory
cd courses-server
-
Change the name of
sample.env
to.env
in the root directory of the project and fill your credentials -
For payment system crete an account with Razorpay and generate your
key_id
andkey_secret
use test mode for development and live mode for production -
For gmail make sure your two step verification is turn off and enable Less secure app access by going to the this url: lesssecureapps
-
For other provider checkout the nodemailer docs
-
Install dependencies
npm install
oryarn install
orpnpm install
(preferred) -
Start the development server
npm start
oryarn start
orpnpm start
(preferred) -
open in your favorite browser by going localhost:4000