An open API service indexing awesome lists of open source software.

https://github.com/sanchitbajaj02/machine-coding-nextjs


https://github.com/sanchitbajaj02/machine-coding-nextjs

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# Machine Coding (Next.js)

This coding rounds contains 3 projects

### Weather & News Dashboard

> Route: /dashboard/weather-news

### Kanban Board

> Route: /dashboard/kanban

### Analytics Dashboard

> Route: /dashboard/analytics

## Setup

Clone the repository using the following command:

```bash
git clone https://github.com/Sanchitbajaj02/machine-coding-nextjs.git
```

Install the dependencies using the following command:

```bash
npm install
```

## Environment Variables

I have provided a sample `.env.example` file. Make a duplicate of it and rename to `.env.local`. After that, add your API keys in it

> Note: Due to cors issue the weather API works in localhost

Generate your weather api from: [Weather API](https://openweathermap.org/)

## Run the project

Run the development server using the following command:

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

To run the project in production run the following command:

```bash
npm run build && npm run start
```

For any doubts, DM at [Twitter](https://x.com/solitrix02)