Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlerocher/marketplace
Created with StackBlitz ⚡️
https://github.com/jlerocher/marketplace
Last synced: 4 days ago
JSON representation
Created with StackBlitz ⚡️
- Host: GitHub
- URL: https://github.com/jlerocher/marketplace
- Owner: jlerocher
- Created: 2024-11-02T10:20:42.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T12:14:48.000Z (2 months ago)
- Last Synced: 2024-11-16T06:25:58.391Z (2 months ago)
- Language: TypeScript
- Homepage: https://stackblitz.com/edit/sb1-1nh3yk
- Size: 272 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# marketplace
## Description
This is a NextJS project that allows users to create and sell products on the marketplace.
## Features
- User authentication using NextAuth.js
- User profile management
- Product creation and management
- Product listing and search
- Product sales and transactions
- Admin dashboard for managing products and users## Installation
1. Clone the repository:
```bash
git clone https://github.com/jlerocher/marketplace.git
```2. Install dependencies:
```bash
npm install
```3. Create a `.env` file in the root directory and add the following environment variables:
```bash
DATABASE_URL=postgresql://user:password@localhost:5432/marketplace
DIRECT_URL=postgres://user:password@localhost:5432/marketplace
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=secret
```4. Start the development server:
```bash
npm run dev
```5. Open [http://localhost:3000](http://localhost:3000) in your browser.
## Contributing
Contributions are welcome! Please follow these steps:
1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them.
4. Push your branch to your fork.
5. Create a pull request.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.