A full-stack app that allows users to post advertisements to sell items.
- You can see a list of advertisements on the front page.
- You can find in advertisement details information about the description, price, and contact information of the seller.
- You can signup to create a new account and login with your created account.
- After logging in, you can post an advertisement about the item that you want to sell.
- You can update and delete your advertisement.
- You can make an offer about the price of the item and send it to the seller.
- Make sure you installed Node.js on your development machine.
- Create a Docker container to store your PostgreSQL database. You can update the database configuration in the db.js file. Create your local database by running
> docker run -p 5432:5432 --name <name_of_your_database> -e POSTGRES_PASSWORD=<your_password> -d postgres
- Replace the baseUrl value with your local database url in /client/src/actions/ads.js and /client/src/actions/users.js files with: http://localhost:4000
- In the terminal, run
> git clone git@github.com:ducatrinh/eb-market.git
> cd eb-market
> npm install
> node index.js
> cd client
> npm install
> npm start