- React.js
- Redux
- Material-UI
- Node + Express
- PostgreSQL
- Install PostgreSQL
create database myeasylabs;psql -d myeasylabs -f postgres_start.txt
cd clientyarn installcp env.example .envyarn start- Open http://localhost:3000
cd serveryarn installcp env.example .env- Edit .env and fill in database credentials
- Make sure your database is running on your machine
yarn devfor development oryarn startfor production
- In Visual Studio Code install the Prettier extension.
- Go to Code -> Settings -> Preferences, search for
editor.formatOnSave, set to True.
- Login page for doctors/clients http://localhost:3000/login
- Use email dr@test.com password 12345678
- Use these credentials so you will see the correct demo data.
To test email notifications (only for development):
- Get
usernameandpasswordfromhttps://ethereal.email/create - Check emails on
https://ethereal.email/messages
When you are ready with your work please create a git pull request.
It is recommended to test the linter locally before creating pull request:
cd client./node_modules/.bin/eslint ./src/