Skip to content

Latest commit

 

History

History
209 lines (145 loc) · 5.22 KB

README.md

File metadata and controls

209 lines (145 loc) · 5.22 KB

Contributors Forks Stargazers Issues MIT License


Logo

Lab Management System

Bookings, Reports, Seat allocations and much more!!

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

A software that assists college faculties to maintain and manage the laboratory.

(back to top)

Built With

(back to top)

Getting Started

Prerequisites

You need to install

  1. Node v18
  2. pnpm

Installation

  1. Clone the repo

    git clone https://github.com/reenphygeorge/sjcet-labs.git
  2. Install all the NPM packages all the applications.

    We are using PNPM workspace and turborepo to manage the applications in monorepo.

    pnpm install
  3. Copy the .env.example for each applications to .env in the same directory and fill the values required

  4. Start the api dev server and open http://localhost:8000

    pnpm --filter api dev
  5. Start the web application dev server and open http://localhost:3000

    pnpm --filter web dev
  6. Build & export static content

    pnpm --filter web static
  7. Sync changes with capacitor

    pnpm --filter web cap-sync
  8. Open android directory in Android-Studio & ios directory in XCode to build the gradle.

(back to top)

Installation with Docker compose

| Not ready yet. Coming soon

  1. You need to install
  1. Run
docker-compose up

(back to top)

Command Center

All the commands for applications can be executed from the root directory using PNPM Workspace and Turborepo.
  1. Web application PNPM commands

      pnpm --filter web <pnpm options>
  2. API Server PNPM commands

      pnpm --filter api <pnpm options>
  3. Turbo Pipeline Commands

      pnpm turbo run <pipeline_action_1> <pipeline_action_2>
  4. Package installation command

    pnpm add "package-name" --filter "workspace-name"

Misc Commands

  1. Run lint

      pnpm lint
  2. Run lint with autofixable fixes

      pnpm lint-fix

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)