- Project to develop a CRUD for a medieval items store, using Typescript and MySQL.
- Create endpoint to register products in
/products
✔️ - Create endpoint to list products in
/products
✔️ - Create endpoint to register users in
/users
✔️ - Create endpoint to list orders in
/orders
✔️
- Create endpoint to login user using JWT, in
/login
✔️ - Create product registration validations (Joi used) ✔️
- Create user registration validations (Joi used)
- Create endpoint to register order using JWT, in
/orders
✔️
With Docker
👉 Dockerfile and Docker-compose were provided by Trybe
- Run
node
anddb
by running:
$ docker-compose up -d
- Open interactive terminal using:
$ docker exec -it trybesmith bash
- Install dependencies, inside the container, with:
$ npm install
Install it locally
- Open terminal and create a directory in your preferred location:
$ mkdir <Your directory name here>
- Access directory then clone the repository:
$ cd <Your directory name here>
$ git clone [email protected]:ViniGB/Project-Trybesmith.git
- Access the newly created directory:
$ cd Project-Trybesmith
- Install dependencies:
$ npm install