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

https://github.com/betterstack-community/fastify-blog


https://github.com/betterstack-community/fastify-blog

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

          

### Testing the App

To get started with testing the app, follow these steps:

Install all necessary dependencies:

```bash
npm install
```

Create a `.env` file in the root directory of your project with the following contents:

```env
PORT=3000
LOG_LEVEL=info
NODE_ENV=development
DB_FILE=./blog.db

```

Start the server:

```bash
npm run dev
```

Once the server is running, open your browser and navigate to `http://localhost:3000/`.

By following these steps, you can set up and run the server, allowing you to access the application locally in your browser.