This repository contains the UFO Park Workshop project, which includes multiple applications and libraries. This guide will help you set up the project locally and run the applications.
Before you begin, ensure you have the following installed on your system:
- Node.js (>= 14.x)
- Yarn (>= 1.22.x)
- Docker
- Git
Clone the repository to your local machine using Git.
git clone https://github.com/mohammadufo/ufo-park.git
cd ufo-park
Install the project dependencies using Yarn.
yarn install
Create a .env file in the root directory and add the necessary environment variables. Refer to .env.example for the required variables.
Start the PostgreSQL database using Docker Compose.
docker-compose up -d
After the database is running, apply Prisma migrations to set up the database schema.
yarn prisma migrate dev
You can run the individual applications using the following commands:
Navigate to the apps/api directory and start the API server.
cd apps/api
yarn start:dev
Navigate to the apps/web directory and start the WEB server.
cd apps/web
yarn dev
License This project is licensed under the MIT License.