Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/refcell/spacetag-api

API for https://github.com/elissaperdue/spacetag
https://github.com/refcell/spacetag-api

firebase javascript nextjs typescript vercel

Last synced: 22 days ago
JSON representation

API for https://github.com/elissaperdue/spacetag

Awesome Lists containing this project

README

        

# SpaceTag API

> Next.js app using API routes to connect with Firebase Realtime Database.

## Built With

- [Next.js](https://nextjs.org/)
- [Vercel](https://vercel.com)
- [Firebase](https://firebase.google.com)

## Running Locally

### Setup

1. Create a project in [Firebase](https://firebase.google.com/docs/firestore/quickstart).
1. Download your Firebase Service Account.
1. Create a new file `.env.local` and add environment variables (see `.env` for example).
1. Modify the API route to match your database structure.

### Run Locally

```
$ vc dev
```

Next.js app + API available at http://localhost:3000.

## Deploying

From the root directory.

```
$ vc --prod
```