Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liuderchi/todo-list-mean
simple todo list app using MEAN stack, Heroku, Travis
https://github.com/liuderchi/todo-list-mean
angularjs bdd-specs crud-application express heroku jasmine-tests jenkins mean-stack mongodb nodejs todolist
Last synced: about 1 month ago
JSON representation
simple todo list app using MEAN stack, Heroku, Travis
- Host: GitHub
- URL: https://github.com/liuderchi/todo-list-mean
- Owner: liuderchi
- Created: 2016-07-25T10:28:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T15:38:28.000Z (almost 7 years ago)
- Last Synced: 2024-11-05T12:12:13.669Z (3 months ago)
- Topics: angularjs, bdd-specs, crud-application, express, heroku, jasmine-tests, jenkins, mean-stack, mongodb, nodejs, todolist
- Language: JavaScript
- Homepage: https://demo-todo-mean.herokuapp.com/
- Size: 26.4 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple ToDo List App Using MEAN Stack
[![Linux build status](https://travis-ci.org/liuderchi/todo-list-mean.svg?branch=master)](https://travis-ci.org/liuderchi/todo-list-mean)
* It's a very simple to-do list app using __MEAN__ Stack (`MongoDB`, `express`, `AngularJS`, `Nodejs`).
* Currently hosted on https://demo-todo-mean.herokuapp.com/* It supports `CRUD` operation to a todo task;
* Communication between browser and server is trying to be RESTful.## RUN
### RUN LOCALLY
```bash
$ mongod
# if you don't have mongodb installed, use $ apt-get install mongodb
$ cd todo_list_mean$ npm install
$ node main.js
```now you can use this app via http://localhost:3000/home
### DEPLOY to HEROKU
#### Prerequisites for Heroku
- Heroku toolbelt
- An Heroku account
- An _mLab MongoDB_ add-on set up. [(tutorial)](https://scotch.io/tutorials/use-mongodb-with-a-node-application-on-heroku)```bash
$ heroku create
# For the first time you deploy: create heroku app, heroku create git remote for you named 'heroku'$ git push heroku HEAD:master
# push current commit to remote then deploy automatically
# NOTE heroku in default deploy only when you push to heroku/master$ heroku ps:scale web=1 # specify hardware resource
$ heroku open # browse website
```- other management commands
```bash
$ heroku logs # view logs
$ heroku config | grep MONGODB_URI # check heroku mongo uri
$ heroku rename NEW_APP_NAME # rename app (optional)
$ git remote set-url heroku https://YOUR_NEW_HEROKU_GIT_REPO_URL.git
# don't forget to update remote after renaming
```now you can use this app via `http://MY_HEROKU_APP_NAME.herokuapp.com/`
## CHANGELOG
WIP