Giter Site home page Giter Site logo

booksly's Introduction

Booksly

Preview

Overview

Booksly is a simple book management application designed to help users track their books seamlessly. The application features a robust backend system, an intuitive frontend interface, and shared utilities to ensure consistency and efficiency across the platform.

Packages

The project uses yarn workspaces to manage packages inside a single repository. This setup allows shared code between frontend and backend, centralized dependency management, and consistent build scripts.

  • backend: Powers the application with a REST API for managing books, built with Node.js and Express.
  • frontend: Provides a user-friendly interface for book management, built with React and TypeScript.
  • shared: Contains shared utilities, types, and constants to ensure consistency and reuse across both the backend and frontend.

Getting Started

Prerequisites

Make sure you have the following program installed on your dev system

Scripts

  1. Clone the repository:
git clone https://github.com/ananta/booksly.git
cd booksly

Install dependencies:

yarn

Running the Project in dev mode:

yarn start:dev

Helpful scripts

yarn clean Removes the output directories for shared, backend, and frontend workspaces.

yarn prebuild Runs the clean script to remove output directories before the build process.

yarn build Builds the shared, backend, and frontend workspaces concurrently.

yarn start Starts the backend and frontend workspaces concurrently in production mode.

Note: Before running the frontend or backend package, be sure to build the shared package.

yarn start:dev Starts the backend in development mode and the frontend workspaces concurrently.

Running Tests

yarn test

Key Features

Backend:

  • REST API for managing books.
  • Validation middleware using Joi.
  • Controllers for handling book-related operations.

Frontend:

  • Book management interface built with React.
  • Form handling with react-hook-form and validation with zod.
  • Toast notifications for user feedback using a custom useToast hook.

Shared:

  • Common types and constants used across the backend and frontend.
  • Utility functions for shared logic.

Contributing

Fork the repository. Create a new branch git checkout -b feature-branch. Make your changes. Commit your changes git commit -am 'Add new feature'. Push to the branch git push origin feature-branch. Create a new Pull Request.

booksly's People

Contributors

ananta avatar

Stargazers

Amrita 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.