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
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 like3645g4ae6r54ge65f4gae6r4
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
- Open a terminal and run
npm run server
- Open a new terminal and Run
npm run client
- Navigate to
localhost:3000
If you need assistance, feel free to email me at [email protected]