Giter Site home page Giter Site logo

cards's Introduction

Getting Started

Installation

# clone the project
git clone [email protected]:wiktor-falek/cards.git

# run install command
npm install

Folders structure

This project uses npm workspaces to set up a monorepo. Inside the package file in the root folder, there are some scripts that can be used to run or manage dependencies.

├── frontend                 // Workspace for the client
│   ├── public
│   ├── src                  // React app folder
│   ├── index.html
│   ├── package.json
├── socket-server            // Workspace for the backend
│   ├── src
│   ├── package.json
├── node_modules             // One single modules folder for the monorepo
├── package.json
└── .gitignore

From the root folder you can:

  1. Run both workspaces, the frontend and the backend, concurrently by using one command:
npm run dev
  1. Run the frontend or the backend separately:
npm run dev:client

npm run dev:backend

You can also install or uninstall dependencies by:

  1. Using the following commands for the frontend workspace:
npm run i-client _package_name_  // To install
npm run uni-client _package_name_ // To uninstall
  1. Using the following commands for the backend workspace:
npm run i-backend _package_name_  // To install
npm run uni-backend _package_name_ // To uninstall

Alternatively, you can navigate to the "frontend" and "socket-server" directories and use regular npm commands to manage dependencies and perform other tasks related to each workspace.

Tech stack

frontend

  • Vite
  • React
  • TypeScript
  • CSS
  • Socket.io

Backend

  • ExpressJs
  • Socket.io
  • TypeScript

cards's People

Contributors

wiktor-falek avatar yelrhilassi avatar paul-norman avatar

Watchers

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