https://github.com/ayusharma-ctrl/spyne
A web app where users can list cars for sale and browse available listings.
https://github.com/ayusharma-ctrl/spyne
nextjs15 prisma redis
Last synced: about 2 months ago
JSON representation
A web app where users can list cars for sale and browse available listings.
- Host: GitHub
- URL: https://github.com/ayusharma-ctrl/spyne
- Owner: ayusharma-ctrl
- Created: 2024-11-16T20:41:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-16T22:22:21.000Z (6 months ago)
- Last Synced: 2025-02-02T11:31:43.946Z (4 months ago)
- Topics: nextjs15, prisma, redis
- Language: TypeScript
- Homepage: https://spyne-amber.vercel.app
- Size: 325 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# App - Spyne
A web app where users can list cars for sale and browse available listings.
## Getting Started
Follow the instructions below to set up the project locally on your machine.
### Installation
1. **Clone the repository:**
```bash
https://github.com/ayusharma-ctrl/Spyne.git
2. **Navigate to the project directory:**
```bash
cd Spyne.git3. **Install dependencies:**
```bash
npm install### Configuration
Create a `.env` file in the root directory of your project and add the following environment variables:
```bash
# MongoDb connection Uri
DATABASE_URL="your-mongo-connection-uri"
REDIS_URL="your-redis-database-url"
CLOUDINARY_CLOUD_NAME="cloud-name"
CLOUDINARY_API_KEY="your-key"
CLOUDINARY_API_SECRET="your-secret"
NODE_ENV="development"
JWT_SECRET="random-string"
NEXT_PUBLIC_X_API_KEY="your-secrect-key-to-include-in-headers"
```### Running the Project
```bash
npm run dev
```### Build for production:
```bash
npm run build
```
### API Documentation
We have a Swagger support. Simply visit: "http://localhost:3000/api-doc" or "https://spyne-amber.vercel.app/api-doc"