- 🌲 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.