SANA is a web application designed to provide an intuitive and efficient interface for users to submit and manage tasks. It features a modern React-based frontend and an Express.js backend, ensuring a seamless user experience with robust API handling.
- User Authentication: Secure login and session management.
- Task Submission: Users can submit jobs through a dedicated interface.
- Job Management: View and track submitted jobs.
- API Integration: Backend logic to handle task processing and data retrieval.
- Frontend:
a.React.js (with Vite for fast development) b.Tailwind CSS for styling c.React Router for navigation
- Backend: a. Express.js (Node.js framework) b. JWT-based authentication
Node.js (>=16)
npm or yarn package manager
-
Clone the repository: git clone https://github.com/your-repo/sana.git --> cd sana
-
Install dependencies: npm install
-
Set up environment variables: Create a .env file in the root directory and configure: JWT_SECRET=your_secret_key
npm start
POST /api/auth/login - User login
POST /api/auth/register - User registration
POST /api/jobs/submit - Submit a new job
GET /api/jobs - Fetch submitted jobs