PedroChaparro / plants-collectors-backend

Movile Development course first exam (backend).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plants collectors (Backend)

Movile development course first exam project.

Setup

Follow the instructions below to setup the project.

  1. Start docker-compose
docker-compose up
  1. Create database tables and views: For this, go to http://localhost:5050 an login with the following credentials:
  • Email: admin@admin.com
  • Password: admin

Then, connect to the plants_collector database with the following credentials:

  • Host: postgres
  • Port: 5432
  • User: postgres
  • Password: postgres

Finally, open the SQL editor and run the tables.sql and views.sql files (You can find them in the database folder).

  1. Crete a .env file from the .env.example file.

  2. Run the database setup script.

pnpm setup:database
  1. Install the dependencies.
pnpm i
  1. Run the project.
pnpm dev

📜 Licence

This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.

🖼️ Images attributions

This project uses images from Pexels under the Pexels License. You can find the original images on:

About

Movile Development course first exam (backend).

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 99.2%Language:Shell 0.8%