- π² Nodejs - JavaScript runtime.
- πΏ Mongodb - Document-oriented database.
- β‘οΈ Vitejs - Next generation frontend tooling.
- πͺ React 18 - A JavaScript library for building user interfaces.
- π Chakra UI - Accessible component library.
- π₯ Framer Motion - Production-ready motion library.
- πΈ React-Query - Powerful data synchronization for React.
- πΉ React-Player - A React component for playing a variety of URLs.
- Install packages:
# Install frontend:
cd frontend
npm install
# Install backend:
cd backend
npm install
- Create an .env file in..
- Backend folder:
PORT=
DBHOST=
- Frontend folder:
VITE_ALL_LIST=http://localhost:4000/productos/lista
VITE_ALL_CATEGORIES=http://localhost:4000/productos/categorias
VITE_ONE_FILM=http://localhost:4000/productos/obtener
VITE_FILMS_BY_CATEGORY=http://localhost:4000/productos/categorias
VITE_FILMS_BY_NAME=http://localhost:4000/productos/lista
- Run:
- from the following directory: \movies-daw
npm run front
npm run back
- or... (only for linux terminal):
bash run.sh
and ready π₯³. Open your terminal and access to localhost:3000 (frontend) & localhost:4000 (backend).
- MIT.