This project is a Single Page Web Application called Art Rush. It features a React-based front-end powered by Vite and a Node.js/Express backend with MongoDB for the database. The application allows users to browse, save & rate historic european artworks. The application encrypts passwords in such a way that even the developers cannot access the utility passwords. The application is highly flexible and suitable for computers, phones, tablets, as well as its desktop version.
Make sure you have the following installed on your system before continuing:
- Node.js (version 16.x or later) & npm (comes with Node.js)
- MongoDB (local installation of the Mongodb Comunity Server)
-
Unpack zip file locally or clone the repository to your machine.
-
You'll need to have Node.js installed in your computer - ["https://nodejs.org/en/download/prebuilt-installer"]
-
And also Mongodb comunity server installed - ["https://www.mongodb.com/try/download/community"]
-
Using the main terminal in your system write the following commands in order :
-
cd "TO_THIS_FOLDER_PATH" // for example : cd "C:\Users\silas\Web-Development"
-
npm run installserver -
npm run app -
Open your browser and navigate to
http://localhost:3000to access the application -
To run in frontend mode follows: 5.1
npm run installfrontend5.2npm run frontend5.3 Directed towardshttp://localhost:5173otherwise Open your browser and navigate tohttp://localhost:5173to access the application
-
-
You should now see the SPA running!
-
Run
npm run installserverto install backend dependencies -
Run
npm run serverto start the server -
Run
npm run appto start the built app
-
Run
npm run installfrontendto install frontend dependencies -
Run
npm run buildto create a static frontend build of the app -
Run
npm run nodemonto create a static frontend build every time there is change in the frontend/src file -
Run
npm run frontendto start the vite app and server
Web-Development ├── frontend │ ├── build │ │ ├── assets │ │ ├── favicon │ │ └── images │ ├── public │ │ ├── favicon │ │ ├── images │ │ └── scripts │ ├── src │ │ ├── assets │ │ ├── components │ │ ├── pages │ │ └── services │ └── vite.config ├── server │ ├── models │ └── Routes ├── README.md
- Content related to the paintings was fetched from the public API "[https://metmuseum.github.io/]"
Silas Sequeira & Valdemar Armindo : Master in Design and Multimedia FCTUC 2023/2024