Todo Web App
Simple Web App with Express, React, Next.js and PostgreSQL
And also:
π¨ Required Tools
npm
oryarn
docker
docker-compose
π§ Setting up
This article will show you how to setup environment for development
βοΈ Cloning repository
You need to clone this repository
Using HTTPS
git clone https://github.com/roflanKisel/todo-web-app.git
Using SSH
git clone git@github.com:roflanKisel/todo-web-app.git
π¦ Installing packages
You need to install packages for db
, web-api
and web
Using npm
cd db && npm install
cd web-api && npm install
cd web && npm install
Using yarn
cd db && yarn
cd web-api && yarn
cd web && yarn
π Starting containers with database and logger
You can easily run containers with a simple command
Using npm
npm run dev
Using yarn
yarn dev
π± Seeding database
To start using database you need to initialize it and fill it with data
Using npm
npm run seed
Using yarn
yarn seed
πΌ Starting services for development purposes
Web API server and Web (React App + Server) can be started by the commands below
Using npm
cd web-api && npm start
cd web && npm run dev
Using yarn
cd web-api && yarn start
cd web && yarn dev
Go to localhost:3000 in your browser and try it out!
π Note
PostgreSQL
-localhost:5432
Logger
-localhost:1337
Web API
-localhost:8080
Web
-localhost:3000