express-todo-app
During a casual Reddit browsing session, I came across a post (can't remember which sub) that caught my eye. A site which gives you random project ideas. The first idea I saw which interested me was the todo list project, so here we are.
Site in reference: "What to Code?".
Features
- Add TODOs to your TODO database.
- Thoroughly commented code.
lol
Tech
- express for server
- MongoDB for database.
- Embedded JavaScript templates for templating engine.
Setup
$ npm installto install dependencies.- Make a
.envfile in the root of the project structure and follow the example bellow.- Copy and paste;
MONGODB_URI=exampleinto the.envfile you just created. - Replace
examplewith your MongoDB connection string URI. - The final
.envfile should look something like this;sh MONGODB_URI=mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
- Copy and paste;
- Finally, do
$ node server.jsto start up the app. The default localhost URL should behttp://localhost:1337.
TODO ~lol
Feel free to take these things as inspiration as I will probably not be updating this repository all that much.
- Implement change and delete feature.
- Make UI cooler
- Add API
- Add user system
Links
License
MIT