DevPulse is an internal tech issue and feature tracker. It's a collaborative platform for software teams to report bugs, suggest features, and coordinate resolutions.
These instructions will help you set up the project on your local machine for development and testing.
Make sure you have the following installed on your machine:
- Node.js (v16 or higher recommended)
- PostgreSQL (for the database)
-
Clone the repository:
git clone https://github.com/Nazmul1211/devpulse.git cd devpulse -
Install dependencies:
npm install
-
Set up environment variables: Create a
.envfile in the root directory and add the necessary variables:PORT=5000 DATABASE_URL=your_postgres_database_url JWT_SECRET=your_jwt_secret_key
-
Run the development server:
npm run dev
The API should now be running at
http://localhost:5000.
- TypeScript - For writing type-safe code.
- Express - Fast, unopinionated web framework for Node.js.
- PostgreSQL (pg) - Relational Database for storing data securely.
A quick look at the main folders inside the src/ directory to help you navigate:
app.ts- Main Express application setup (middlewares, routes).server.ts- Entry point that starts the server.modules/- Contains our main application features (authandissues). Each module is scoped to hold its own code (e.g., controllers, services, routes).db/- Database connection configuration.middleware/- Custom Express middlewares (like authentication and error handlers).utils/- Shared helper functions.
npm run dev- Starts the app in development mode with automatic reloading.npm run build- Compiles the TypeScript code into JavaScript in thedist/folder.npm start- Starts the production server using the compiled code.