https://github.com/sajjadhadi/carly-nest.js
Car sales platform backend with Nest.js
https://github.com/sajjadhadi/carly-nest.js
backend docker nestjs nodejs prisma rest-api sqlite typescript yarn
Last synced: 4 months ago
JSON representation
Car sales platform backend with Nest.js
- Host: GitHub
- URL: https://github.com/sajjadhadi/carly-nest.js
- Owner: SajjadHadi
- Created: 2024-08-01T17:25:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T16:09:21.000Z (over 1 year ago)
- Last Synced: 2025-04-08T21:52:36.827Z (about 1 year ago)
- Topics: backend, docker, nestjs, nodejs, prisma, rest-api, sqlite, typescript, yarn
- Language: TypeScript
- Homepage:
- Size: 2.55 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Carly Backnd with Nest.js









## Introduction
Carly is a project I designed for my mentees to gain more professional, real-world experience in front-end development.
This project is Carly's backend, easily cloned and run on a local system, allowing mentees to test all their frontend
project features. It uses SQLite, as it's beginner-friendly and easy to set up. Why Docker? Simple: I love it!
PostgreSQL would be an option, but I wanted beginners to focus on the frontend without database setup complexities.
Docker is just mentioned here, not fully utilized. In future projects, I'll use PostgreSQL instead of SQLite. (SQLite's
lack of enum support still surprises me! 😆)
## Installation
### Option 1 - NPM
If you're new to backend development and not familiar with Docker, this is an excellent option. Clone the project and
run the following installation command:
```bash
npm install
# Run in Development Mode
npm run start:dev
# Run in Production Mode
npm run start:prod
npm start
```
### Option 2 - Yarn
Personally, I've encountered some issues using NPM over the past couple of years, so I prefer Yarn. The commands are as
follows:
```bash
yarn install
# Run in Development Mode
yarn run start:dev
# Run in Production Mode
yarn run start:prod
yarn start
```
### Option 3 - Docker
If you're familiar with Docker and have some experience, this is the best option. Docker enhances project organization
and maintainability. After installing Docker on your system, clone the project and run the following commands:
```bash
# Run in Development Mode
docker-compose -f docker-compose.dev.yml up --build
# Run in Development Mode
docker-compose up --build
```