- React.js
- Redux
- Material-UI
- Node + Express
- PostgreSQL
- Install PostgreSQL
create database myeasylabs;
psql -d myeasylabs -f postgres_start.txt
cd client
yarn install
cp env.example .env
yarn start
- Open http://localhost:3000
cd server
yarn install
cp env.example .env
- Edit .env and fill in database credentials
- Make sure your database is running on your machine
yarn dev
for development oryarn start
for 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 [email protected] password 12345678
- Use these credentials so you will see the correct demo data.
To test email notifications (only for development):
- Get
username
andpassword
fromhttps://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/