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

https://github.com/thuyencode/nodejs-basic-informational-site-the-odin-project

Project: Basic Informational Site | The Odin Project
https://github.com/thuyencode/nodejs-basic-informational-site-the-odin-project

nodejs theodinproject

Last synced: 7 months ago
JSON representation

Project: Basic Informational Site | The Odin Project

Awesome Lists containing this project

README

          

# Project: Basic Informational Site

[More detail information here](https://www.theodinproject.com/lessons/nodejs-basic-informational-site).

![thuyencode github io 2024-07-29 18 25 56 ](https://github.com/user-attachments/assets/633e743e-fb12-4d8f-b18c-64afb834341b)
![localhost 2024-07-29 19 19 10 ](https://github.com/user-attachments/assets/fe3770cd-eb20-4270-a62b-c25e38ae8d30)

## What makes this project standout from the other community submissions?

At least on the backend side. There're several patterns that The Odin Project doesn't teach you, or I just over-engineered simply things:

- Custom errors for some HTTP status
- Unified route configs
- It uses TypeScript (I set up the project structure myself)

## Getting started

First, install all the dependencies:

```bash
npm i
```

To run the dev server:

```bash
npm run dev
```

Before running the production server you need to build it:

```bash
npm run build
```

To run the production server:

```bash
npm run start
```