Update Price by CSV file 🔗

About 📝

This is an application that updates product values in the database by reading .CSV files and validating business rules.


Stack 🧰

TypeScript javascript NodeJs ExpressJs vite React TailwindCSS Prisma MySQL

How to run ▶️

# Clone this repository
$ git clone <https://github.com/kendy-karakawa/Update-Price-Full-Stack>
# Access the project folder cmd/terminal
$ cd Update-Price-Full-Stack


# Access the front-end folder
$ cd Front-end
# Install the dependencies
$ npm install
# Compile the front-end code
$ npm run build
# Configure the .env
$ hosd adrees of back end (http://localhost:port)
# Run the front-end application 
$ npm run dev

# Access the back-end folder
$ cd Back-end
# Install the dependencies
$ npm install
# Compile the back-end code
$ npm run build
# Configure the .env
$ according to the .env.exemple
# generate db
$ npm run migration:run
# seed db
$ npm run seed
# Run the back-end application 
$ npm run dev

# The front-end will automatically start at localhost:5173/ on your favorite browser