Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alicanerdurmaz/computer-store

MERN Stack E-Commerce Project
https://github.com/alicanerdurmaz/computer-store

ecommerce express mongodb nestjs nextjs postcss react typescript

Last synced: 3 months ago
JSON representation

MERN Stack E-Commerce Project

Awesome Lists containing this project

README

        


Computer Store

> 🚨 This is not a commercial project. I did it to improve my knowledge ❤
>

🚀 [Live Demo](https://computer-store.vercel.app/)

# Tech Stack
Frontend
- React / Next.js
- Typescript
- PostCSS
- Storybook

Backend
- Nest.js / Express
- Typescript
- MongoDB / Mongoose
- JSON Web Tokens

# How to use
### Quick Start
```bash
clone repo
cd frontend && yarn dev
cd server && yarn start:dev
```

This project uses atlas as database service and uses JWT for auth.
To use these systems, simply enter the necessary variables in the .env file.

How to use MongoDB Atlas -> https://docs.atlas.mongodb.com/getting-started

`
.env file location = computer-store/server/.env
`
```
MONGODB_URI=mongodb+srv://:@devcampercluster.oqatm.mongodb.net/?retryWrites=true&w=majority

JWT_SECRET=any text

```

# Backend API Documentation
Once the application is running you can visit http://localhost:3001/api to see the Swagger interface.