GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - reneSpeaks/TypeScript-API: Node.js project with TypeScript, Express.js ESLint, Prettier & more.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.husky
.husky
 
 
.vscode
.vscode
 
 
public
public
 
 
src
src
 
 
.env.EXAMPLE
.env.EXAMPLE
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
CODEOWNERS
CODEOWNERS
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.build.json
tsconfig.build.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.js
vitest.config.js
 
 

Repository files navigation

TypeScript API

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.

It was quite a wonderful teaching exercise.

Technologies & Tools Used

  • Node.js: Basis of this project to leverage the benefits of server-side JavaScript.
  • TypeScript: Improved code quality and static typing.
  • Express.js: To create a robust and scalable REST-API.
  • ESLint: Static code analysis to identify and fix problematic patterns as they happen.
  • Prettier: Code formatting to ensure consistency and aesthetically pleasing code.
  • CORS: Handling Cross-Origin Resource Sharing to allow controlled access to resources from different domains.
  • Vitest: Testing library for Test Driven Development approach.
  • 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.

Project Setup

Follow the steps below to set up the project on your local system:

  1. Clone the GitHub Repository: git clone [email protected]:reneSpeaks/TypeScript-API.git
  2. Install dependencies npm i
  3. Copy and fill out .env.Example to create .env.development & .env.production
  4. Start development Server: npm run dev
  5. Open URL: http://localhost:3001

About

Node.js project with TypeScript, Express.js ESLint, Prettier & more.

Topics

eslintexpressjshuskynode-typescript-appnode-typescript-boilerplatenode-typescript-expressnodejsnodejs-typescriptnodejs-typescript-projectprettiertypescripttypescript-nodetypescript-node-exampletypescript-node-startervitestweb-development

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.