/Node-mongo

A basic learning project to create an API using Node, Express and MongoDB. Created using Turbo360 engine. Database hosted on MongoDB Atlas cluster

Primary LanguageJavaScript

mongo-new

This project was built with Turbo 360. To learn more, click here: https://www.turbo360.co

Deployment: https://nodongo-lit6pd.turbo360-vertex.com/

Instructions

After cloning into repo, cd to project root directory and create a .env file. This file requires a TURBO_APP_ID and SESSION_SECRET keys:

TURBO_ENV=dev
SESSION_SECRET=YOUR_SESSION_SECRET
TURBO_APP_ID=123abc

Then run npm install from the root directory:

$ npm install

To run dev server, install Turbo CLI globally:

$ sudo npm install turbo-cli -g

Then run devserver from project root directory:

$ turbo devserver

To build for production, run build:

$ npm run build

Tutorial video: https://www.youtube.com/watch?v=4yqu8YF29cU&t=3881s