This is an old project I collaborated on before I got my first job, it is not representatitive of my current standards of code quality but it is a good reminder of how much I've grown as a dev.
- Ensure NPM and Node are installed
- npm install (in the client folder)
- npm run start (in the client folder)
- Ensure maven and a java development environment are installed.
- Ensure you have two postgres databases setup (one for running the app, one for tests)
- Run
psql -d yourdatabasename -a -f db.sql
from the skill-marketplace folder for both the main db and test db - Create .env file with following format
DB_NAME=skill_marketplace
DB_USER=gaurdianaq
DB_PASSWORD=password
DB_HOST=localhost
TEST_DB_NAME=skill_marketplace_test
TEST_DB_USER=gaurdianaq
TEST_DB_PASSWORD=password
TEST_DB_HOST=localhost
SECRET_KEY=5#KAp)3Tr!QEtk'`+Mj3Gq4m%=x;7]vjRU#:{Yh8`Xg^wl2x^R:Gto)7at(iG;v
- Run mvn package in server folder
- Copy .env file to target folder
- run
java -jar skill_marketplace-1.0-SNAPSHOT-jar-with-dependencies.jar