Giter Club home page Giter Club logo

codegranites-pms-admin's Introduction

CODEGRANITES-PMS | FRONTEND

Project Image

Table of Contents ✨

Description

Illuminating Ideas and Forging Solutions

Installation

First, run:

npm install

Then run:

npm run dev

Dependencies

  • Iconsax React
  • React Toastify(for any alert or toast)
  • Tailwindcss
  • Sass
  • Tw-merge + clsx(for conditional classes)
  • Class Variance Authority

Usage

FONT

  • Work Sans ---> usage "font-Worksans"

Dev Server

Open http://localhost:3000 with your browser to see the result.

Contributing

CodeGranite is open to contributions, but I recommend creating an issue or replying in a comment to let us know what you are working on first that way we don't overwrite each other.

Contribution Guidelines

  1. Pull origin git pull origin dev

  2. Create a new branch for the task you were assigned to, eg Assigned page - Name : git checkout -b Vxrcel

  3. After making changes, format codes with npm run format

  4. Then stage your files git add .

  5. Commit your changes with a descriptive commit message : git commit -m "your commit message".

  6. IMPORTANT: To make sure there are no conflicts, run git pull origin dev.

  7. Push changes to your new branch, E.g: run git push -u origin Vxrcel.

  8. Create a pull request to the dev branch not main.

  9. Ensure to describe your pull request.

  10. If you've added code that should be tested, add some test examples.

Merging

Under no circumstances should you merge a pull requests on a specific branch to the dev or main branch

Commit CheatSheet

Type Description
feat Features A new feature
fix Bug Fixes A bug fix
docs Documentation Documentation only changes
style Styles Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
refactor Code Refactoring A code change that neither fixes a bug nor adds a feature
perf Performance Improvements A code change that improves performance
test Tests Adding missing tests or correcting existing tests
build Builds Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
ci Continuous Integrations Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
chore Chores Other changes that don't modify , frontend or test files
revert Reverts Reverts a previous commit

Sample Commit Messages

  • chore: Updated README file := chore is used because the commit didn't make any changes to the , frontend or test folders in any way.
  • feat: Added plugin info endpoints := feat is used here because the feature was non-existent before the commit.

API

A separate folder called api is created withing the app folder here, to make an API Call:

  • create a new folder within the app/api dir
  • within the created folder create a route.ts file
  • within the route.ts file you make either a GET or POST Request

❗❗Do not create any custom http calls inside a components. Whatever calls that need to be processed by the server should be called within the route.ts file.

codegranites-pms-admin's People

Contributors

a-believer avatar breezeconcept avatar hisreal123 avatar incredible-phoenix246 avatar kleenpulse avatar loyalsfc avatar phantomcancode avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.