Skip to content

Commit f1a6af0

Browse files
committed
docs: added README.md
1 parent 7cede8d commit f1a6af0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# TypeScript API
2+
3+
This repository was created in an effort to learn how to create REST-API's with TypeScript. Following best practices in production environments I not only set up the repository for my own personal use, but put much effort into understanding GitHub Actions Workflows, including many collaborative tools like ESLint and Prettier so development in a team is not only possible but functional.
4+
5+
It was quite a wonderful teaching exercise.
6+
7+
## Technologies & Tools Used
8+
9+
- __Node.js__: Basis of this project to leverage the benefits of server-side JavaScript.
10+
- __TypeScript__: Improved code quality and static typing.
11+
- __Express.js__: To create a robust and scalable REST-API.
12+
- __ESLint__: Static code analysis to identify and fix problematic patterns as they happen.
13+
- __Prettier__: Code formatting to ensure consistency and aesthetically pleasing code.
14+
- __CORS__: Handling Cross-Origin Resource Sharing to allow controlled access to resources from different domains.
15+
- __Workflows & Scripts__: Environment specific scripts handle not only linting and formatting, but also the test environment before commiting. Additional safeguards are used using GitHub Actions.
16+
17+
## Project Setup
18+
19+
Follow the steps below to set up the project on your local system:
20+
21+
1. Clone the GitHub Repository: `git clone [email protected]:reneSpeaks/TypeScript-API.git`
22+
2. Install dependencies `npm i`
23+
3. Copy and fill out .env.Example to create .env.development & .env.production
24+
4. Start development Server: `npm run dev`
25+
5. Open URL: `http://localhost:3001`

0 commit comments

Comments
 (0)