https://github.com/afk247/invoice-dashboard
https://github.com/afk247/invoice-dashboard
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/afk247/invoice-dashboard
- Owner: AFK247
- Created: 2025-04-09T06:30:38.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-11T14:03:17.000Z (about 1 year ago)
- Last Synced: 2025-04-12T11:50:44.203Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://invoice-dashboard-amber.vercel.app
- Size: 842 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js Project Setup
This guide will help you get started with running this Next.js project locally.
## Prerequisites
Before you begin, ensure you have the following installed:
- Node.js (version 18.17.0 or later)
- npm (Node Package Manager) or yarn
- Git (for version control)
## Installation
1. Clone the repository:
```bash
git clone https://github.com/AFK247/invoice-dashboard
cd invoice-dashboard
```
2. Install dependencies:
```bash
npm install
# or
yarn install
```
## Environment Variables
Create a `.env` file in the root directory and add your environment variables:
```plaintext
NEXT_PUBLIC_QUICK_BOOK_CLIENT_ID="your client ID"
QUICK_BOOK_CLIENT_SECRET="your client secret"
NEXT_PUBLIC_QUICK_BOOK_REDIRECT_URI="http://localhost:3000/api/auth/callback"
NEXT_PUBLIC_QUICK_BOOK_SCOPES="com.intuit.quickbooks.accounting"
NEXT_PUBLIC_BASE_URL="http://localhost:3000"
NEXT_PUBLIC_API_BASE_URL="http://localhost:5000"
```
## Running the Project
### Development Mode
To run the project in development mode with hot-reload:
```bash
npm run dev
# or
yarn dev
```
The application will be available at `http://localhost:3000`
### Production Build
To create a production build:
```bash
npm run build
# or
yarn build
```
To start the production server:
```bash
npm run start
# or
yarn start
```