Skip to content

Latest commit

 

History

History
90 lines (63 loc) · 3.12 KB

CONTRIBUTING.md

File metadata and controls

90 lines (63 loc) · 3.12 KB

Contributing

Tools

To set up the development environment, ensure you have the following tools installed:

For Visual Studio Code, consider installing the following extensions:

Installation

  • Backend Setup:

    • Start the PostgreSQL database using Docker:
      docker compose -f compose.dev.yml up -d
    • Run the Spring Boot API:
      gradle bootRun
  • Frontend Setup:

    • Open a new terminal in challenge-facevault/web
    • Install dependencies:
      npm install
    • Start the Angular development server:
      ng serve

Testing API

For testing the API, I utilized the Vscode REST Client extension. You can find all the API requests in ./api-client/requests folder.

Additionally, for your convenience, I've created a public Postman workspace where you can test the API if you prefer using Postman. You can access the Postman workspace here.

Committing

Useful Scripts

Backend:

  • gradle bootRun: Start API.
  • docker compose -f compose.dev.yml up -d: Start DB container in the background.
  • docker compose -f compose.dev.yml down: Stop DB container.

Front-end:

  • ng serve: Serve frontend using Angular CLI.

Reference

For further reference, please consider the following sections:

Backend

Additional Links

These additional references should also help you:

Frontend