This repository contains the code for both the frontend and backend of the Movie Library application, a full-stack project built with React, Redux Toolkit, Express, and Sequelize.
- Node.js (v14 or later)
- npm or yarn
- Docker (for containerization)
- Docker Compose (for running multi-container Docker applications)
- Navigate to the
backend
directory. - Install dependencies:
npm install
- Copy
.env.example
to.env
and update the environment variables according to your setup. - Run migrations and seeders (if applicable):
npx sequelize db:migrate npx sequelize db:seed:all
- Start the backend server:
npm start
- Navigate to the
frontend
directory. - Install dependencies:
npm install
- Copy
.env.example
to.env
and update the environment variables (e.g., the backend API URL). - Start the React development server:
npm start
This project supports Docker for easy setup and deployment. Ensure Docker and Docker Compose are installed on your system.
- From the root of the project, build and start the containers:
docker-compose up --build
- Access the application at
http://localhost
(or another port configured indocker-compose.yml
).
Contributions are welcome! Please read the contributing guidelines and code of conduct before making a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.