Commit 98b3f5803d
Unsigned
Layout: unified · split
api/README.txt +4 −3
| @@ -1,5 +1,6 @@ | |||
| 1 | 1 | ||
| 2 | AWESOME PRIVACY API SOURCE | 2 | ============================================================================ |
| 3 | AWESOME PRIVACY API SOURCE | ||
| 3 | ============================================================================ | 4 | ============================================================================ |
| 4 | 5 | ||
| 5 | ABOUT | 6 | ABOUT |
| @@ -32,13 +33,13 @@ DEVELOPMENT | |||
| 32 | ----------- | 33 | ----------- |
| 33 | 1. Run `yarn dev` to start a local instance of the API + Swagger interface | 34 | 1. Run `yarn dev` to start a local instance of the API + Swagger interface |
| 34 | 2. Open `http://localhost:9000` in your browser or with a HTTP client | 35 | 2. Open `http://localhost:9000` in your browser or with a HTTP client |
| 35 | 3. Make any desired changes in `src/` - the server will automatically reload | 36 | 3. Make any desired changes in `src/` - the server will auto reload |
| 36 | 37 | ||
| 37 | ============================================================================ | 38 | ============================================================================ |
| 38 | 39 | ||
| 39 | DEPLOYMENT | 40 | DEPLOYMENT |
| 40 | ---------- | 41 | ---------- |
| 41 | 1. Sign up for Cloudflare Workers (https://workers.dev) - free tier is fine | 42 | 1. Sign up for Cloudflare Workers (https://workers.dev), free tier is fine |
| 42 | 2. Follow the steps in "Getting Started" to setup the project locally | 43 | 2. Follow the steps in "Getting Started" to setup the project locally |
| 43 | 3. Run `wrangler login` to login to your Cloudflare account in wrangler | 44 | 3. Run `wrangler login` to login to your Cloudflare account in wrangler |
| 44 | 4. Run `wrangler deploy` to publish the API to Cloudflare Workers | 45 | 4. Run `wrangler deploy` to publish the API to Cloudflare Workers |