Jira Wizard Backend is the server-side component of the Jira Wizard application. It is built with Node.js, Express.js, and TypeScript, and serves as the backend API for handling file uploads, data processing, and communication with the Jira API.
- Accepts file uploads (CSV or JSON) containing issue data
- Validates and processes the uploaded data
- Communicates with the Jira API to create issues
- Provides endpoints for handling file uploads and issue creation
- Implements error handling and response validation
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository: git clone https://github.com/ank1traj/jira-backend.git
- Install the dependencies: npm install
- Set up the environment variables: Create a
.env
file in the backend directory and configure the following variables: SECRET_KEY="SECRET_KEY"
PORT=<server_port>
Replace the values in <...>
with your own Jira API and server configuration.
- Start the backend server: npm start
The backend server will start running on the specified port (default: 3000).
- Configure the frontend:
In the frontend codebase, update the configuration file with the backend server URL. This file can typically be found in the src/config
directory of the frontend project.
// src/config/index.ts
const config = {
backendUrl: 'http://localhost:3000', // Replace with your backend server URL
// Other configuration options
};
export default config;
Start the frontend:
Follow the instructions in the frontend README to start the frontend server and access the Jira Wizard application.
The backend provides the following API endpoints: POST /api/user: Accepts JIRA domain, email and API token and get logged in. POST /api/upload: Accepts file uploads (CSV or JSON) containing issue data and validates the file. POST /api/issue: Processes the uploaded file data, communicates with the Jira API, and creates issues. For detailed information about the request and response structures, refer to the API documentation.
Participating in open-source software (OSS) initiatives can provide a gratifying and satisfying experience. It offers an opportunity to acquire novel abilities while also contributing to a project that has a significant impact on the larger community.
Here are some steps you can take to contribute to this project
- Remember to read Code Of Conduct before contributing.
- Follow the Contribution Documents
- Create an issue to report bugs, and vulnerabilities or add a new feature.
- Remember to add a good commit message.
- Don't spam if you do it your PR/issue will be closed.
Currently we are using NodeJS and ExpressJS framework for this project.
We would like to extend our heartfelt gratitude to all the individuals who contributed to and supported this project. Your unwavering dedication, time, skills, and knowledge played a pivotal role in the success of this endeavor. Whether you offered code, documentation, testing, or provided valuable feedback and suggestions, please know that your contributions are highly valued and appreciated.
This project is licensed under the MIT License. See the LICENSE file for more details.