https://github.com/biantris/admin-analytics
Admin dashboard
https://github.com/biantris/admin-analytics
Last synced: 6 months ago
JSON representation
Admin dashboard
- Host: GitHub
- URL: https://github.com/biantris/admin-analytics
- Owner: biantris
- Created: 2023-03-04T16:45:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-19T01:39:38.000Z (about 2 years ago)
- Last Synced: 2025-04-03T16:36:07.328Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://admin-analytics.vercel.app
- Size: 3.32 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Admin Analytics
A SPA build with NextJS
🚧 WIP 🚧
> **Note**
> See Back-end project [admin-analytics-api](https://github.com/biantris/admin-analytics-api)
### Tools
- [x] [TypeScript](https://www.typescriptlang.org/)
- [x] [NextJS](https://nextjs.org/)
- [x] [Next Auth](https://next-auth.js.org/)
- [x] [Storybook](https://storybook.js.org/)
- [x] [Axios](https://axios-http.com/)
- [x] [Yup](https://github.com/jquense/yup)
- [x] [Tailwind CSS](https://tailwindcss.com/)
- [x] [Nivo Chart](https://nivo.rocks/)
- [x] [React Hook Form](https://react-hook-form.com/)
- [ ] [Jest](https://jestjs.io/)
- [ ] [React Testing Library](https://testing-library.com/)
- [x] [Vercel](https://vercel.com/) (Deploy)
### To-do
- [x] Login and cokies
- [x] Dashboard
- [x] Show endpoint data through graphs
- [x] Check routes for ADMIN flag (back and front)
- [x] User List page
- [x] User Crate page
- [x] Rate Limit on create user endpoint
- [x] Responsive
- [ ] Testing
### Pages
Login

Dashboard [ADMIN]

Dashboard [USER]

Users [ADMIN]

Users Create [ADMIN]

RESPONSIVE




### Getting Started
- Set up the [server repository](https://github.com/biantris/admin-analytics-api) ( Note: it needs to be running together with the frontend )
- Clone this repo
- Create a new `.env.local` file and copy the contents of `.env.example` into it
```sh
# install dependencies
yarn
# or
yarn install
# start project
yarn dev
# see on localhost link
http://localhost:3000
```
### Users to Login
```sh
#ADMIN
> admin@gmail.com
> 12345678
#USER
> user@gmail.com
> 12345678
```
#### Run Storybook
- `yarn storybook`

## Demo
🔗 https://admin-analytics.vercel.app/