This project is the 13th in the course OpenClassrooms "Utilisez une API pour un compte utilisateur bancaire avec React" course. It introduces students to React JS with Redux Toolkit and in this project Redux Toolkit Query.
This project was developed with:
If you need more information about the project, please go to package.json
Download the project by saving it in a directory on your computer:
git clone https://github.com/Jean-Baradat/oc-p13-argentbank-05-2024
You'll also need another project for the server and an API for mongoDB: The local server is available here: Project-10-Bank-API
Follow the steps indicated in the project and once installed, you'll need to configure a MongoDB API and inisyalize it in server\database\connection.js
in the Project-10-Bank-API project.
Once the back has been launched correctly, you can modify the VITE_API_URL for use on this project in .env.development
.
Let's start by installing the dependencies:
npm i
and launch Vite:
npm run dev
If you need more commands, please go to package.json
Build the application:
npm run build
Then to see this version:
npm run preview
You can also make: (To see the result on another machine in your network.)
npm run preview:network
This project used the environment variables in:
.env.development
Use the example .env.example
to create your:
.env.production
Below you will find the configuration for all the development tools used for this project. Do not modify if you don't know how.
.eslintrc.json
.prettierrc.json
jsconfig.json
tailwind.config.js
vite.config.js
A .vscode
file contains configurations for VScode for this project.
Jean ๐