JobSika is a website that allows people to anonymously rate their companies and share their salaries, in order to create a more level playing field between employers and employees. People can contribute their salary information to the website and help to change the current narrative around salary information.
To run the application locally, you should:
- Fork the project from the GitHub repository. To do this, click the "Fork" button in the top-right corner of the repository page and follow the instructions.
- Install the required dependencies:
- Golang version 1.16 and above
- GNU make
- docker with docker-compose
- swagger
- Jump to the ./backend folder:
cd ./backend
- Run the database:
make start-postgres
- Run the api:
make run
- Build and run:
make run && ./jobsika
- Build and run with docker:
make docker-build && make docker-run
- Serve the api documentation:
make serve-swagger
- Run the api with the DB:
make start-api
How to create a new table: how-to-add-a-new-table.md
- Jump to the ./frontend folder: cd ./frontend
- Install the dependencies:
npm install
oryarn install
- Run the app:
npm run dev
oryarn dev
- Now that the application is running, you can access it through http://localhost:3000/
Aaaand that's it! Thank you for taking the time to read this document. Following the steps outlined in this document will help you set up and run the application locally. We hope this document has been helpful and that it makes it easier for you to contribute and help make jobsika better.