Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- run: cd backend && npm install
- run: cd frontend && npm install
72 changes: 72 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
# FinJob

###### Modern job portals face issues like inconsistent environments, slow deployments, and unreliable resume screening processes. Manual testing and lack of automation lead to errors and inefficient feature delivery. A DevOps-driven solution with CI/CD and containerization is needed to ensure scalable, reliable, and automated recruitment workflows.

# 🚀 TalentSync: Automated Job Portal Lifecycle

This project is a containerized Job Portal with a full CI/CD pipeline, built to satisfy the DevOps lifecycle requirements.

## 🛠️ Tech Stack
- **Frontend:** React.js (Feature-based architecture)
- **Backend:** Node.js & Express
- **Database:** MongoDB
- **DevOps:** Docker, GitHub Actions (CI), Render/Cloud (CD)

---

## 🏗️ How to Run (For Team Members)
Follow these steps to get the project running on your local machine in 2 minutes:

1. **Install Docker Desktop** on your computer.
2. **Clone the repo:** `git clone <your-repo-url>`
3. **Start everything:** In the root folder, run:
```bash
docker-compose up --build


Copy and paste this into your root README.md file:

Markdown
# 🚀 TalentSync: Full-Stack Job Portal

This repository contains a containerized Job Portal built with the MERN-lite stack (React, Node.js, Express, MongoDB). This project follows the **DevOps lifecycle** including CI/CD and Containerization.

---

## 💻 How to Run Locally (Development Mode)
If you want to code and see changes instantly without waiting for Docker:

### 1. Prerequisites
- Install [Node.js](https://nodejs.org/) (Recommended: v18 or v20)
- Install [MongoDB](https://www.mongodb.com/try/download/community) (or use the Docker DB)

### 2. Setup & Run
Open **two** terminals in VS Code:

**Terminal 1: Backend**
```bash
cd backend
npm install
npm start
Terminal 2: Frontend

Bash
cd frontend
npm install
npm start
App URL: http://localhost:3000

API URL: http://localhost:5000


Contribution rules
1. The "Main" is Sacred
Never push code directly to the main branch.

The main branch should always be "deployable" (it should never have broken code).

2. The Branching Strategy
Before starting any task, create a new branch from main:

Format: name/feature-description

Example: mansi/setup-docker or rahul/job-api

Command: git checkout -b name/feature
7 changes: 7 additions & 0 deletions backend/dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:18
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD ["npm", "start"]
Loading
Loading