Skip to content

Commit 763727f

Browse files
Update README.md
Signed-off-by: OldSlayer1903 <[email protected]>
1 parent 0a91271 commit 763727f

File tree

1 file changed

+72
-51
lines changed

1 file changed

+72
-51
lines changed

README.md

Lines changed: 72 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,113 @@
1+
# StoreZero: E-Commerce Application
2+
13
<p align="center">
24
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
35
</p>
46

57
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
68
[circleci-url]: https://circleci.com/gh/nestjs/nest
79

8-
<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
10+
<p align="center">A robust e-commerce application built with **NestJS** , **Prisma** , **PostgreSQL** , and **TypeScript** . This project includes user authentication, CRUD operations, and more.</p>
911
<p align="center">
1012
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
1113
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
1214
<a href="https://github.com/building-for-fun/StoreZero/actions/workflows/secret-scan.yml" target="_blank"><img src="https://github.com/building-for-fun/StoreZero/actions/workflows/secret-scan.yml/badge.svg" alt="Secret Scan" /></a>
1315

14-
</p>
15-
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
16-
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->
16+
---
1717

18-
## Description
18+
## 🚀 Tech Stack
1919

20-
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
20+
![NestJS](https://img.shields.io/badge/NestJS-E0234E?style=for-the-badge&logo=nestjs&logoColor=white)
21+
![Prisma](https://img.shields.io/badge/Prisma-2D3748?style=for-the-badge&logo=prisma&logoColor=white)
22+
![PostgreSQL](https://img.shields.io/badge/PostgreSQL-336791?style=for-the-badge&logo=postgresql&logoColor=white)
23+
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
24+
![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white)
25+
![Jest](https://img.shields.io/badge/Jest-C21325?style=for-the-badge&logo=jest&logoColor=white)
2126

22-
## Project setup
27+
---
2328

24-
```bash
25-
$ npm install
26-
```
29+
## 🛠 Installation
2730

28-
## Compile and run the project
31+
1. **Clone the repository**:
32+
```bash
33+
git clone https://github.com/building-for-fun/StoreZero.git
34+
cd StoreZero
35+
```
2936

30-
```bash
31-
# development
32-
$ npm run start
37+
Install dependencies:
3338

34-
# watch mode
35-
$ npm run start:dev
39+
```bash
40+
npm install
41+
```
3642

37-
# production mode
38-
$ npm run start:prod
39-
```
43+
Install NestJS CLI (if not already installed):
4044

41-
## Run tests
45+
```bash
46+
npm install -g @nestjs/cli
47+
```
4248

43-
```bash
44-
# unit tests
45-
$ npm run test
49+
<hr/>
50+
51+
🔑 Environment Variables
52+
Copy the `.env.example` file to .env:
53+
54+
```bash
55+
cp .env.example .env
56+
```
57+
58+
Update the .env file with your configuration (e.g., database URL, JWT secret, etc.).
4659

47-
# e2e tests
48-
$ npm run test:e2e
4960

50-
# test coverage
51-
$ npm run test:cov
61+
<hr/>
62+
63+
▶️ Running the Application
64+
Without Docker
65+
66+
Start the application:
67+
68+
```bash
69+
npm run start:dev
5270
```
5371

54-
## Deployment
72+
The application will be available at http://localhost:3000.
5573

56-
When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information.
5774

58-
If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
75+
With Docker
76+
Build and start the Docker containers:
5977

6078
```bash
61-
$ npm install -g mau
62-
$ mau deploy
79+
docker-compose up --build
6380
```
6481

65-
With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
82+
The application will be available at http://localhost:3000.
83+
6684

67-
## Resources
85+
<hr/>
6886

69-
Check out a few resources that may come in handy when working with NestJS:
87+
📦 Prisma Migrations
7088

71-
- Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
72-
- For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
73-
- To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
74-
- Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
75-
- Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
76-
- Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
77-
- To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
78-
- Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).
89+
Run Prisma migrations:
7990

80-
## Support
91+
```bash
92+
npx prisma migrate dev --name <migration-name>
93+
```
8194

82-
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
95+
Generate Prisma client:
8396

84-
## Stay in touch
97+
```bash
98+
npx prisma generate
99+
```
85100

86-
- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
87-
- Website - [https://nestjs.com](https://nestjs.com/)
88-
- Twitter - [@nestframework](https://twitter.com/nestframework)
101+
<hr/>
102+
103+
🧪 Running Tests
104+
Run the tests using Jest:
105+
106+
```bash
107+
npm run test
108+
```
89109

90-
## License
110+
<hr/>
91111

92-
Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
112+
📄 License
113+
This project is licensed under the MIT License.

0 commit comments

Comments
 (0)