Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ebyrds/react-8l


https://github.com/ebyrds/react-8l

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# Next.js + Jest

This app is an exercise to work with Next.js, Jest and deployment to Heroku.

Next.js includes built-in support for Global CSS, CSS Modules, and TypeScript.

## How it started

Next.js started using [Create Next App](https://github.com/vercel/next.js/tree/canary/packages/create-next-app#readme)

App built with the following initial command:
```bash
npx create-next-app --example with-jest with-jest-app --ts
# or
# yarn create next-app --example with-jest with-jest-app --typescript
```

## Build code
```bash
npm run build
```

## Run in local machine
```bash
npm run dev
```

## Run Jest Tests
```bash
npm test
```

## Deploy to heroku
```bash
git push heroku main:master
```