FLAMENGNAWA is a web platform designed for a musical band to spread their presence online. It provides a convenient way for users to access band's event, products and blogs.
- Frontend: React.js
- Backend: Express.js
- Database: MongoDb
- DOCKER: Docker
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/OuafidiOussama/FlamenGnawa
- Navigate to the project directory:
cd FlamenGnawa
- Install all the dependencies needed for both frontend and backend (API):
cd frontend
npm install
cd ../API
npm install
- Start the backend(API) server:
npm server
(in the API directory) - Start the frontend development server:
npm start
(in the frontend directory) 6.Congrats, now you can access the application in your browser athttp://localhost:3000
To test the backend using Jest, follow these steps:
- Navigate to the API directory:
cd API
- Run the Jest test suite:
npm test
- Jest will execute the tests and provide feedback on the test results.
- Ensure you have Docker installed
- run
docker compose up --build -d
to build the docker image