Sign inSign up

afcasco/fct-finder

By afcasco

•Updated over 2 years ago

Spring boot API to help students and companies get together

Image
0

198

afcasco/fct-finder repository overview

⁠FCT Finder

⁠Spring boot API to help students and companies get together


Project available @ https://github.com/afcasco/fct-finder-api⁠


⁠Swagger UI endpoint @/api/swagger-ui
⁠JSON docs endpoint @/docs

⁠For now, the database is preloaded with Flyway with some companies, and users signing up can add whatever role they want ("admin","mod","user" or any combination as an array in the payload).

⁠Running the API from the IDE:
  • ⁠Create a local database:
    You can use the docker-compose-mysql.yml file
    $ cd docker-compose && docker compose -f docker-compose-mysql up -d
    The default values for the database are already setup in "application.properties":
    • URL: jdbc:mysql://localhost:53306/fct_finder
    • User: fctfinder
    • Password: fctfinder
    • Database: fct_finder
    • Localhost port: 53306
  • ⁠Load the project and run it

⁠Run the API with docker:
  • ⁠Create a local database (same steps as running from the ide:
  • ⁠Edit the docker compose file "docker-compose.yml" to match your database details.

    And run docker compose:
    $ cd docker-compose && docker compose up -d


⁠Run the API and the database with docker compose:
  • ⁠Run both the application and a new mysql container as a stack
    $ cd docker-compose && docker compose -f docker-compose-mysql-stack.yml up -d

Tag summary

Content type

Image

Digest

sha256:fd61e380c…

Size

104.2 MB

Last updated

about 3 years ago

docker pull afcasco/fct-finder:0.0.1