Neverforever Admin is the administrative interface for the Neverforever E-commerce platform. It is a full-stack web application designed for managing products, orders, suppliers, and users within the Neverforever E-commerce system. The front-end is built with React, and the back-end is powered by Node.js, Express, and MySQL.
- Admin authentication and authorization
- User management
- Supplier Management
- Product management
- Order management
- Dashboard with key metrics and statistics
- Front-end: React
- Back-end: Node.js, Express
- Database: MySQL
- Styling: TailwindCSS, Bootstrap
- Node.js (v14 or later)
- npm (v6 or later)
- MySQL
git clone https://github.com/isabellelbgn/neverforever-admin.git
cd neverforever-admin
- Install dependencies
cd server
npm install
- Database Configuration:
- Create a MySQL database.
- Update the environment variables (.env) with your database credentials.
DB_HOST=your-database-host
DB_USER=your-database-user
DB_PASSWORD=your-database-password
DB_NAME=your-database-name
- Run Migrations:
npx sequelize db:migrate
- Start the Backend Server:
npm start
- Install Dependencies:
cd client
npm install
- Environment Variables:
- Update .env and update the environment variables if needed.
REACT_APP_API_URL=http://localhost:5000
- Start the Frontend Server:
npm start
- Admins can log in using their credentials to access the admin panel.
- Admins can view, add, edit, and delete users.
- Admins can manage supplier information, including adding, updating, and deleting suppliers.
- Admins can manage product listings, including adding new products, editing existing ones, and deleting products.
- Admins can view and manage customer orders, update order statuses, and handle returns.
- The dashboard provides key metrics and statistics about the e-commerce platform, such as total sales, number of users, and order statistics.