This is a the monorepo containing the Metric CRUD app challenge
Client: React, NextJS
Server: Node, Express, Docker, Prisma
For more information check each project Readme file
Backend deployment and loading is quite slow and gets to sleep every few minutes (it's free so that's what we get) Please be patient on first load!
-
[Backend] (https://github.com/fernandofreije/metric-crud-app/tree/main/metric-crud-app-backend) Url: https://metric-crud-app-frontend.vercel.app
-
[Frontend] (https://github.com/fernandofreije/metric-crud-app/tree/main/metric-crud-app-fronend) Url: https://metric-crud-app-backend.onrender.com
There are instructions for running each proyect separately in each readme (which is my prefered way to keep separate terminals), but for convinience you can run everything together with the docker-compose in the root of the repo (if you have docker)
Prepare the database
docker-compose build && docker-compose run --rm api npx prisma migrate dev
Run the containers
docker-compose up