Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muasa-harman/car_parking_monorepo
By using a monorepo structure, the project can manage these interconnected services efficiently, allowing for easier collaboration and consistency across the system.
https://github.com/muasa-harman/car_parking_monorepo
backend-api docker-compose monorepo nestjs nextjs postgres prisma-orm structured-logging typescript
Last synced: 12 days ago
JSON representation
By using a monorepo structure, the project can manage these interconnected services efficiently, allowing for easier collaboration and consistency across the system.
- Host: GitHub
- URL: https://github.com/muasa-harman/car_parking_monorepo
- Owner: Muasa-harman
- Created: 2024-10-11T12:58:30.000Z (27 days ago)
- Default Branch: main
- Last Pushed: 2024-10-16T08:54:33.000Z (22 days ago)
- Last Synced: 2024-10-18T04:47:18.116Z (21 days ago)
- Topics: backend-api, docker-compose, monorepo, nestjs, nextjs, postgres, prisma-orm, structured-logging, typescript
- Language: TypeScript
- Homepage:
- Size: 527 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autospace Workshop
This repository contains the Autospace Workshop project, which includes multiple applications and libraries. This guide will help you set up the project locally and run the applications.
## Prerequisites
Before you begin, ensure you have the following installed on your system:
- Node.js (>= 14.x)
- Yarn (>= 1.22.x)
- Docker
- Git## Getting Started
### 1. Clone the Repository
Clone the repository to your local machine using Git.
```bash
git clone https://github.com/Muasa-harman/car_parking_monorepo.git
cd autospace-workshop
```### 2. Install Dependencies
Install the project dependencies using Yarn.
```
yarn install
```### 3. Set Up Environment Variables
Create a .env file in the root directory and add the necessary environment variables. Refer to .env.example for the required variables.
### 4. Run the Database with Docker Compose
Start the PostgreSQL database using Docker Compose.
```
docker-compose up -d
```### 5. Run Prisma Migrations
After the database is running, apply Prisma migrations to set up the database schema.
```
yarn prisma migrate dev
```### 6. Run the Applications
You can run the individual applications using the following commands:
#### API Application
Navigate to the apps/api directory and start the API server.
```
cd apps/api
yarn dev
```#### WEB Applications
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.