Short for agriculture livestock assets network, this project is an agricultural stock management site tailored for sellers and buyers. The site was built using the MERN stack and can be run locally on a machine or accessed through the Vercel link. Features basic operations such as security through logins, adding/removing/tracking of products, and basic online shopping operations.
- This is the first page. It contains Login and Sign Up buttons for authentication.
- User is asked to log in with email and password.
- The account must exist in the database; otherwise, the login will fail.
- Includes a Sign Up text button to redirect to the Sign Up page.
- User is asked to register with their first name, last name, email, and password.
- The password will be encrypted in the database.
- Displays a list of products from the database.
- Entries can be sorted by name, type, price, or quantity using a drop-down menu.
- Sorting order can be toggled ascending/descending with an arrow.
- Users can add products to the cart.
- The cart button in the header shows the current cart and allows quantity adjustments.
- A hamburger menu leads to transaction history.
- Includes a logout button.
- Clicking the logo in the header navigates back to the product listings.
- Displays a list of the user’s transactions in the cart.
- Users can increase/decrease the quantity or cancel transactions.
- Users may select individual items or use the select all checkbox to checkout.
- Clicking the logo in the header navigates back to the product listings.
- Shows both pending and completed transactions.
- Pending transactions can still be canceled.
- Clicking the logo in the header navigates back to the product listings.
- Admin is directed here after logging in.
- Contains navigation buttons for admin pages.
- The header includes a Sign Out button.
- Shows the product list from the database.
- Can be sorted by name, type, price, or quantity.
- Sorting order toggled with an arrow.
- Admin can edit stock and price.
- Clicking the logo in the header navigates to the dashboard.
- Displays pending transactions from the database.
- Admin can confirm transactions, marking them as completed.
- Clicking the logo in the header navigates to the dashboard.
- Shows a list of customers from the database.
- Each customer is listed with their total spent.
- Clicking the logo in the header navigates to the dashboard.
- Displays sales data by product or completed transactions.
- Can be filtered by last week, month, or year.
- Clicking the logo in the header navigates to the dashboard.
- Ensure you have a
.envfile with your own MongoDBauthKey. - Run
npm iinside both thebackendandfrontenddirectories (not in root!).
- Navigate to the
backenddirectory on the terminal and run:
node index.js- Navigate to the
frontenddirectory on the terminal and run:
npm run dev- Open your browser and go to
http://localhost:5173:
Alternatively you can access this Vercel link: https://project-alan-bank.vercel.app/
Section: C-4L
- Joy Christine Laura Guevarra
- Hans Dean Guzman
- Alan Benedict Vender











