Local traders is a marketplace application that helps users buy and sell local collectibles. This application help user easily connect with sellers by displaying their contact information. Users are able to view the marketplace without loggin but cannot take any further action without logging in.
Project duration: 2 weeks
Before you get started, make sure you have the following software installed on your computer:
Run:
- npm Install
- npm run server
- npm run client
use the database.sql file here to upload the queries to your database. Run the queries to create all the required tables and data.
- Run
npm install
- Create a
.env
file at the root of the project and paste this line into the file:While you're in your newSERVER_SESSION_SECRET=superDuperSecret
.env
file, take the time to replacesuperDuperSecret
with some long random string like25POUbVtx6RKVNWszd9ERB9Bb6
to keep your application secure. Here's a site that can help you: https://passwordsgenerator.net/. If you don't do this step, create a secret with less than eight characters, or leave it assuperDuperSecret
, you will get a warning. - Start postgres if not running already by using
brew services start postgresql
- Run
npm run server
- Run
npm run client
- Navigate to
localhost:3000
I wanto to thank the instructors who helped us build this application and all my classmates. I couldn't have done it without their help.
If you need assistance, feel free to email me at kpyang2414@gmail.com