Before you begin, ensure you have met the following requirements:
- You have installed Docker.
- You have installed Node.js and npm OR bun [ I made this using bun].
Follow these steps to get your application up and running:
- Start your Docker containers:
docker compose up -d
- Import the database dump:
cat ./dump_2024-05-08_01_35_11.sql | docker exec -i <your container name> psql -U postgres
If you want to start with a fresh database
npx prisma migrate dev
Copy the example.env file to .env or set up your own environment variables.
cp example.env .env
npm run dev