Git Product home page Git Product logo

tsx-react's Introduction

Table of Contents

All Contributors

Download

   https://github.com/Bartek-Figat/tsx-react.git

Installation

Use the following script to install modules in the front-end and back-end directory

  yarn install

To run the project, in the root directory use.

The command will start the front-end and back-end

  yarn start

Docker

If you want to code using Docker, create .env file in root directory:

  MONGO_INITDB_ROOT_USERNAME=developer
  MONGO_INITDB_ROOT_PASSWORD=password
  MONGO_INITDB_DATABASE=bbardslocal
  dbDEV=mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@database/${MONGO_INITDB_DATABASE}?retryWrites=true&w=majority&authSource=admin

Then run below in the root directory

  docker compose up

Docker will bind ports:

3000 - Frontend

8080 - Backend

27017 - MongoDb

If you want to use other ports, open and modify the file docker-compose.yml

You can also run specific services:

docker compose up backend - will run backend service and mongodb

docker compose up frontend - will run frontend service

Modules

Modules installation

  yarn workspace <workspace_name> <command>

Example:

  yarn workspace @bbards-ts/front-end add react react-dom --dev
  yarn workspace @bbards-ts/back-end add cors

If you want to remove a package:

  yarn workspace web-project remove some-package

API

Swaggier API

Open http://localhost:8080/api-docs/ in the browser.

Contributing

Look at our CONTRIBUTING.md file to learn how to get started with gitflow.

Contributors โœจ

Thanks go to these wonderful people (emoji key):

adrianixGit
adrianixGit

๐Ÿ“–
Bartlomiej Komendarczuk
Bartlomiej Komendarczuk

๐Ÿ“–
jsgostkowski
jsgostkowski

๐Ÿ“–
kuprelweronika
kuprelweronika

๐Ÿ“–
masterHAWK99
masterHAWK99

๐Ÿ“–
Aleksander Skorek
Aleksander Skorek

๐Ÿ“–
Add your contributions

This project follows the all-contributors specification. Contributions of any kind are welcome!

tsx-react's People

Contributors

bartek-figat avatar masterhawk99 avatar adrianixgit avatar belluu avatar kuprelweronika avatar zafar-hussain avatar antydeveloper 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.