Change into frontend directory: cd frontend
Install dependencies: yarn install
Start frontend: yarn start
- Download docker: https://www.docker.com/products/docker-desktop/
- Open a terminal
- Run the following:
docker run --name postgres-spring -e POSTGRES_PASSWORD=admin -d -p 5432:5432 postgres:alpine
docker ps
docker exec -it <container-id from the docker ps command> bin/bash
psql -U postgres
CREATE DATABASE springdb;
\c springdb
- Database is now fully setup
- Change into backend directory:
cd backend
- Run the following:
brew install maven
mvn spring-boot:run
- Server should now be started on localhost:8080