node-crud-app
Live Link: node-crud-app.herokuapp.com
info
This app is a simple full stack CRUD app built with node.js, Express, and mongoDB. It allows anyone to post, edit, and delete any message on the main page. At the moment, there is no user authorization or validation for form inputs.
local deployment
requirements
procedure
-
After downloading, create a folder named 'data' in the main project directory.
mkdir [path-to-project-directory]/data
-
Still in main project folder, run:
npm install
-
Setup MongoDB for 'localhost:27017/node-crud-app', start your mongo server:
mongod --dbpath [path-to-project-directory]/data
meanwhile, in the mongo console, enter:
use node-crud-app
-
To start the server, enter:
npm start
Navigate to localhost:3000
additional resources
This app is an adaptation of the project from the following tutorial: blog.udemy.com/node-js-tutorial