Skip to content

helios1101/Mean-Todo-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MEAN Todo App

A simple todo API made with NodeJS, ExpressJS, MongoDB and Angular. Can be used as a back-end for learning front-end technologies or vice versa fully created with working api.

Download Instruction

Run git clone https://github.com/helios1101/Mean-Todo-App

For Todoapp in Angular

First download this project to your computer using above instructions.

Setup Project Run cd todoapp-angular to go inside the directory Run npm install to install all the dependencies. Run npm install -g @angular/cli to install Angular CLI globally. Run ng serve to run the Development Server Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files. To generate Build files Run ng build to generate Built Files in the dist directory.

For Todoapp in api

First download this project to your computer using above instructions. Database Setup Download and isntall MogoDB. Make sure that the database is running at 127.0.0.1:27017

Project Setup Now run cd todo-api to go inside the directory Run npm install to install all the dependencies. Run npm install -g nodemon to install NodemonGlobally. Run npm start to run the NodeJS Server. Since this request includes CORS use postman at http://localhost:3000/api/todos