Creating a friendlist (CRUD) with node, express and MongoDB
Express Version | 4.18.1 |
Database | MongoDB (using mongoose) |
# clone the project
git clone https://github.com/Moonjose/Friendlist_JS.git
# enter the cloned directory
cd Friendlist_JS
# install dependencies
npm install
# create a .env file with your MongoDB cluster link
CONNECTIONSTRING=<cluster_link>
# run server
npm start
# run webpack watch in another terminal
npm run dev
The app is available at `http://localhost:3000`.