This project is about creating a lightweight todo app with a minimal user interface. The app has the following abilities:
- List todos
- Add todo
- Update todo
- Delete todo
The app includes the technologies listed below:
- Node
- CoffeeScript
- MVC pattern for express server written by coffeescript
- Socket.io
- MongoDB & Mongoose
- Redux pattern for react front-end
- Jest & Enzyme
- Others: yarn, npm, Git
- Make sure you are running
mongodb
on your local machine. Or you can usemLab
, then fill theURI
at the env file. - Create
.env
file in the server root folder, and fill the value, referring the file named asenv_example
- Install npm using
npm install
oryarn install
for both folders : "server" and "client". - First run
npm run start
at the server folder, and then do the same command at the client folder. - It will show the simple todo app on the
3000
port.
- In the client folder, run the command
npm run test
, It will show 2 unit's test result. - App.test.js ( Default offered by create-react-app cli)
- Applied response check using Enzyme's shallow about the one of components, Todo