This is an example front-end application for project 3.
It allows users to register, log in, and manage their collections of things.
The app is built using React and Redux.
git clone https://github.com/yourusername/show-us-your-contents-frontend.git
cd show-us-your-contents-frontend
npm install
Ensure you have the following installed:
- Node.js (version 18 or higher)
- npm (version 6 or higher)
npm install
Create a .env
file in the root of the project - duplicate the .env.example
file and replace values with your real values:
VITE_API_URL="http://localhost:3001/api"
Start the app using the following command:
npm run dev
The app should now be running on http://localhost:3000
In the project directory, you can run the following scripts:
npm run dev
: Start the development server.npm run build
: Build the app for production.npm run serve
: Serve the production build of the app.npm run lint
: Run ESLint to lint the code.