Cibus is an inventory management application designed to help businesses keep track of their products, inventory items, and recipes. The app includes features for user registration, authentication, and validation of JWT tokens.
- User registration and login
- JWT-based authentication
- Token validation
- CRUD operations for products and inventory items
- Recipe management depending on items available
- Backend: Node.js, Express, MongoDB, Mongoose, JWT
- Frontend: React Native, Expo
- Node.js
- MongoDB
- Git
- Expo Go App (found in App Store or Google Play Store)
-
Clone the repository:
git clone https://github.com/your-username/cibus.git cd cibus -
Install backend dependencies:
cd backend npm install -
Set up environment variables:
Create a
.envfile in thebackenddirectory and add the following:JWT_SECRET=your_jwt_secret MONGODB_URI=your_mongodb_uri
-
Install frontend dependencies:
cd ../frontend npm install
-
Start the MongoDB server.
-
Start the backend server:
cd backend node -
Start the frontend server:
cd frontend npx expo start
Scan the QR code using the expo app with your mobile phone or run it using an emulator