Skip to content

๐Ÿ›’ E-commerce market API written with NodeJS that allows you to list all products, create an user and send a new purchase!

Notifications You must be signed in to change notification settings

issitarual/campmarket-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

65 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CampMarket ๐Ÿ›’

E-commerce market API!

About ๐Ÿ”Ž

This is an API wich anyone with list the projects, register an user and have an historic of purchases. This project was made by the following developers and we worked one sprint based on agile mindset scrum.

Implemented features โœ…

  • Sign up
  • Log in
  • Change e-mail and password
  • Purchase
  • See all products
  • Search a product
  • Filter product by its category
  • Each product information

Future improvements ๐Ÿ”ฎ

  • Layered architecture
  • Implement TypeScript and TypeORM
  • Implement Migrations

Technologies

The following tools and frameworks were used in the construction of the project:

How to run

  1. Clone this repository
  2. Clone the front-end repository
  3. Follow instructions to run front-end
  4. Create a database using the dump.sql file inside the dump
  • 4.1 Open your terminal in the same path as the dump.sql file is located.
  • 4.2 Access PostgreSQL
sudo su postgres
psql postgres
  • 4.3 Create a database
CREATE DATABASE [database_name];
  • 4.4 Then, quit psql and import the dump.sql file to your database
\q
psql [database_name] < dump.sql
  • 4.5 Finally, you can connect your terminal on your database!
\c [database_name]
  1. Install dependencies
npm i
  1. Run the back-end with
npm start

About

๐Ÿ›’ E-commerce market API written with NodeJS that allows you to list all products, create an user and send a new purchase!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published