This is a Next.js project bootstrapped with create-next-app
.
Node v20.12.2
Chrome 125.0.6422.142
With correct node version you must run:
In the project directory, you can run:
Run npm run dev
for a dev server. Navigate to http://localhost:3000/
. The application will automatically reload if you change any of the source files.
Now you need to setup api url env var like this, in root create a file named .env.local and put
API_URL = 'your api base url like (http://localhost:3000/api)';
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run lint
to validate lint rules. (All files pass linting).
Run npm run test
(coverage is on 100%).
Run npm run prettier
to format files in src folder.
Live demo here -> -> -> [https://bold-dashboard-nextjs.vercel.app/es]