A simple CRUD app using Node, React and Postgres.
Make sure you have Node and Postgres installed.
- Create a '.env' file in the root directory of the project with the following values:
DB_USER=username
DB_HOST=localhost
DB_NAME=homework-tracker
DB_PASS=password
DB_PORT=5432
- Create a new table named 'homework-tracker' (or whatever you named it earlier).
- Run server/schema.sql in pgAdmin.
- Install all packages by running the 'yarn' command in the root directory.
- Run the following commands in two separate terminal windows:
yarn start:server
yarn start:client
- Visit localhost:1234 to use the client. The server will be running on localhost:3000.
- [Material-UI] (https://next.material-ui.com) - Common UI components
- [material-table] (https://material-table.com) - Editable table
- [Koa] (https://koajs.com) - Node framework
- [Parcel] (https://parceljs.org) - Web app bundler
- Add validation
- Add more pages
- Add unit tests