E-commerce market API!
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.
- Sign up
- Log in
- Change e-mail and password
- Purchase
- See all products
- Search a product
- Filter product by its category
- Each product information
- Layered architecture
- Implement TypeScript and TypeORM
- Implement Migrations
The following tools and frameworks were used in the construction of the project:
- Clone this repository
- Clone the front-end repository
- Follow instructions to run front-end
- Create a database using the
dump.sql
file inside thedump
- 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]
- Install dependencies
npm i
- Run the back-end with
npm start