From 23rd May to 27th July 2022
The Shop Around Me web app in a few words : "Find the product you are looking for in a store near you".
Three main features :
- A search engine
- A stores map as the search result
- An updated pot that can be used in these stores
Developer team :
Partner :
- Anne-Laure Petit-Gats Gervais, CEO of Shop Around Me.
Instructors :
- Romain Guillemot
- Robin Jonval
- A database model was designed and updated throughout the project
- The design of the application is consistent and respects the partner's brand guidelines
- The API respects the REST architecture
- The application is created using a front-end framework
- The code is well structured and DRY
- The application is functional and has no major errors
- The code is available on Github
- The application meets the partner's expectations
- The team has respected the principles of agile methods
This template is meant to serve as a foundation for every project following the React-Express-MySQL stack, as learned in Wild Code School. It's pre-configured with a set of tools which'll help students produce industry-quality and easier-to-maintain code, while staying as simple as possible to use.
- In VSCode, install plugins Prettier - Code formatter and ESLint and configure them
- Clone this repo, enter it
- Run command
npm run setup
- NB: To launch the backend server, you'll need an environment file with database credentials. You'll find a template one in
backend/.env.sample
setup
: Initialization of frontend and backend, as well as all toolingsdev
: Starts both servers (frontend + backend) in one terminaldev-front
: Starts the React frontend serverdev-back
: Starts the Express backend serverlint
: Runs validation tools, and refuses unclean code (will be executed on every commit)fix
: Fixes linter errors (run it iflint
growls on your code !)
- Concurrently : Allows for several commands to run concurrently in the same CLI
- Husky : Allows to execute specific commands that trigger on git events
- Vite : Alternative to Create-React-App, packaging less tools for a more fluid experience
- ESLint : "Quality of code" tool, ensures chosen rules will be enforced
- Prettier : "Quality of code" tool as well, focuses on the styleguide
- _ Airbnb Standard_ : One of the most known "standards", even though it's not officially linked to ES/JS
- Nodemon : Allows to restart the server everytime a .js file is udated