{"repo":"swapnil233/SixMarket","free":true,"listed":false,"github":"https://github.com/swapnil233/SixMarket","clone":"git clone https://github.com/swapnil233/SixMarket.git","description":"An online classifieds platform. Build with Next.js 12 + TypeScript. I am no longer working on it, but feel free to use it under its MIT license.","language":"TypeScript","stars":13,"topics":["classifields","marketplace","nextjs","typescript"],"license":"MIT","category":"ecommerce","readme_excerpt":"Marketplace is an open source classfields website. Image previews: Entity relationship diagram How to run on your machine: 1. git clone https://github.com/swapnil233/marketplace.git 2. npm install to get all the dependencies 3. Get an instance of Postgres running and create a database, name it whatever (eg \"marketplace\"). 4. If you want to use Supabase to host the DB instead of your machine, make a DB in Supabase, then go into settings and get the regular connection string and the connection string with PgBouncer. This needs to be done for connection pooling, because if you deploy to a serverless env like Vercel or AWS Amplify, every function invocation may result in a new connection to the database. The connection strings will look like this: - DIRECT URL=\"postgres://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-REF].supabase.co:5432/postgres\" - DATABASE URL=\"postgres://postgres:[YOUR-PASSWORD]@db.[YOUR-PROJECT-REF].supabase.co:6543/postgres?pgbouncer=true\" 5. Create a .env file, and populate it with the data that's required, which is found in .env.example 6. Run npx prisma generate and npx prisma db push to upload the schema into your DB and generate the TypeScript types for the schema models 7. Seed your database with categories and tags by running npm run seed 8. Run npm run dev to start the nextjs project on port 3003 (you can change this in package.json under the dev script) Upcoming Features - [ ] Map view - [ ] Search by query or query + category - [ ] Location based resu","default_branch":null,"files":null,"tree":[],"storefront":"/r/swapnil233","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/swapnil233/SixMarket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}