DontStopPrograming / DontStopPrograming/Backend_standard

Create: Initial Express Server Setup

オープン
#1 コメント 1 件 リアクション 0 件 担当者 1 名 @DontStopPrograming が担当を希望しています GitHub で見る
good first issue
主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Set up the initial Express server with the following configurations:

1. Import the necessary modules:

- EXPRESS for creating the server
- CORS for enabling Cross-Origin Resource Sharing
- DOTENV for loading enviroment variables

2. Initialize and Express application.

3. Apply middleware:

- Use CORS middleware to handle CORS

4. Configure the server to listen on a port:

- The PORT should be taken from the enviroment variables, with a fallback to '3002' but basic '3000' if not specified

5. Add a simple message to log when 'the server is running'.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。