Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheChemHashira

A full-stack web application to detect and classify chemicals as Harmful, Questionable, or Safe based on their effects and usage quantity.

Architecture

  • Frontend: React 18 + Vite + Tailwind CSS + React Router
  • Backend: Node 18 + Express 5 + Mongoose
  • Database: MongoDB

Getting Started

Prerequisites

  • Node.js (v18 or later)
  • npm
  • MongoDB (local or Atlas)

Installation & Setup

  1. Clone the repository:

    git clone <repository-url>
    cd thechemhashira
  2. Install all dependencies:

    npm run install-all
  3. Set up environment variables:

    Create a .env file in the root directory and add the necessary variables (see .env.example).

    MONGO_URI=<your_mongodb_connection_string>
    PORT=5000
    JWT_SECRET=<your_jwt_secret>
    NODE_ENV=development
    

Available Scripts

  • npm run install-all: Installs dependencies for both client and server.
  • npm run build: Builds both client and server for production.
  • npm start: Starts the production server.
  • npm run seed: Seeds the database with initial data.
  • npm run dev: Runs both client and server in development mode.

About

A full-stack project that scans the chemicals on packets of different items and predicts the chemical severity of the substances present in the particular item.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages