A Simple Todo web application
Project is built with React and uses Node with Fastify framework for server.
- Make sure Node, Postgres is installed
- For the DB setup, any DB client should suffice, I used PgAdmin
- I suggest you to setup the project with yarn
-
Pull repo
-
Default Login: email: demo@user.com | pass:
demouserDocker Mode (Easy if you have Docker)
- Make Sure you have Docker installed and up
- Checkout to project root directory and run
- docker-compose up --build
- Docker will build the required images, starts the App and exposes 3000 port
- Head to your Browser and open localhost:3000
Local Setup
- You'll find two directories
- client (React-UI)
- server (Node-server)
- Run > cd client && yarn install
- Run > cd server && yarn install
- Login React app with default credentials(in root dir, find credentials.txt)
- Database Setup (Must be pre-configured)
- Create a database in postgres under name todolist
- Create Schema under todolist with name todoapp (Kill me later!)
- Checkout to server directory and run yarn migrate, with this DB setup is complete
# Development Commands
Directory | Command |
---|---|
client | yarn start (will start @ 3000) |
server | yarn start (will start @ 5000) |
# Production Commands
Directory | Command |
---|---|
client | yarn build |
server | yarn build && yarn start:prod |
Refer package.json of both the directories for lints and tests commands
- Add Golang Server using Echo
- React - Web library used
- Fastify - Server Framework
- Node - Server Runtime
- Travis CI - Continous Integration
- Heroku - Continous Deployment
Please feel free to use,criticize and give PR's if anything missed
- Chaitanya Kumar - Github
This project is licensed under the MIT License - see the LICENSE.md file for details