Skip to content

[WIP] Initial Express Server Setup: Basic Application Structure#2

Draft
souravg77 wants to merge 6 commits intoac1b4def-e6b6-46ff-b94c-6aa773429112from
express-server-base-setup-1749666083
Draft

[WIP] Initial Express Server Setup: Basic Application Structure#2
souravg77 wants to merge 6 commits intoac1b4def-e6b6-46ff-b94c-6aa773429112from
express-server-base-setup-1749666083

Conversation

@souravg77
Copy link
Copy Markdown
Owner

Initial Express Server Setup: Basic Application Structure

Description

Task

Implement basic Express server setup

Acceptance Criteria

  • Server starts on a configurable port
  • Environment variables control server configuration
  • Basic error handling is implemented
  • Project structure follows modular design principles

Summary of Work

This pull request implements the foundational Express.js server setup for our CDN file serving application. The goal is to create a configurable, modular server base that can be easily extended and configured across different environments.

Changes Made

  • Create src/server.js as the main server entry point
  • Install required dependencies: express, dotenv
  • Implement configurable port listening using environment variables
  • Add basic error handling for server startup
  • Create initial project structure with src directory
  • Add initial package.json configuration

Tests

  • Verify server can start successfully
  • Confirm port is configurable via environment variable
  • Check that server handles startup errors gracefully
  • Ensure basic server responds to root endpoint

Signatures

Staking Key

DFCjj8EJFatpP9w7RhDZvaHHPEqXb3drCAf141nKXisp: VwZzC5yEVuvFD9X2kYFYCeQCK2EnK9a6UqUWdTvs6sr72jQ94scDKrdwx1qVexDG4FcBYWTV4idc76Uh8ddT8uR2UNiDU8nvRE8nzbCGDnkmngNTWgjnEhukiMR9CjGDHow5pxvjaYP6HQd8b9ykTUwb5jpFY63eRKctf3aXV1YRnkEzyUszA2SrRn8LdBTMjQt4kTjRaT6FmBk5LAtDE5hxxgVBdPUyuJyJKGEnzLmje4SYv9uy6BLLacWq9L4TzEUCVdKHW7b1nR9nmG6GBSbZVGzXng8xswTdUa2qpJHkLLwueNRBya2xjFxMuf2mrtaLSoh1K2jhv68TLMnPoasaN4xrBxsVzWiA9b6udJEiZjomkRLFC8vZcfm7kBytee7P2JN4n9bdqevu4JHsqYqPvwjH2VTfWc

Public Key

2fvqh7n4ZNKctPDZoSiZKmgXJEKdpBqZoNpG86KDH2ku: QmZhTFyGZyDkY9PceGgvFnt6trxujbXW4fAgGK4hL494DjGT9W3VourXS5i96aHpNW9xMeD8vdPKzBMjNEuaMgb7gqLdrcXwVWZsTYZzTDmwKgC3uhyJH7KvMQV814fXkDsKHP16ihaBuSMNYHQkvxXzexqr7dR2BVu8RyhD6NPWEzEafjRR9v2Pv8NjRN4VW3g243bpXmWvXHG9zeuHrERYqPzyeN7Jch2SbMRD4iFVMW4t8fApGYRVriKgLoSD9U9DwhLWD7u8t95iLKFSkJ3F64t7sukRP9uGSCi3rXByMYzXZLcuZE4AkYLB6L1NbHPUuHLKoXqyr8xQw7989SqP2uJusBjx755Fnag77LExAtMLqsmXComoHfnZp25Ta7BZucXBJ3h1cksEvDbDhsAKViEwAxunXn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant