/delivery-app-fullstack

Fullstack project using React, MaterialUI, Express, Prisma, Postgres and Docker

Primary LanguageTypeScript

Delivery app fullstack ~ONGOING PROJECT

First full stack project to study Express making a CRUD, auth and jwt strategy. Using Prisma ORM and Postgres. For front-end i use React with MaterialUI

image

Pre-requirements

To run this project, you will need:

  • git (I've used version 2.26.2)
  • nodejs (I've used version v16.15.0)
  • NPM (I've used version 8.5.5)
  • Yarn (I've used version 1.22.15)
  • Docker (I've used Docker version 20.10.14 with Docker Desktop and wsl2) Note: When installing nodejs, NPM is automatically installed too.

Installation

First clone the repo into your machine with: git clone https://github.com/eduardorerick/nestjs-bookmarks.git

To install the dev dependencies, run: yarn

Configuring the environment variables

I uploaded the env files so you can use it for test!

Importing to insomnia

You can import the Delivery App - API.json file to Insomnia to see all the endpoints

Running the database

In this project, I run the database with a postgres image on docker.

Inside the api folder, you can run the database and run the migrations with the command: yarn db:dev:restart

Running the server

Inside folder web, run yarn start to run the server on port 3000.


Images of app in use :

CLIENT

image Wrong login

image New product

image My products page

DELIVERYMAN

image Login as deliveryman

image Accept new deliveries

image Ongoing deliveries

// Made with ❤️ by Eduardo Rerick.