Code Monkey home page Code Monkey logo

react-race-game's Introduction

React Race Game

Codacy Badge contributions welcome Bugs The MIT License

A Race game developed in one week using React, Styled Components, NodeJS, GraphQL and much fun ๐Ÿš™ ๐Ÿ˜

NodeJS Express GraphQL Mongoose React @Apollo
10.16.0 4.17.1 15.0.0 5.9.13 16.13.1 3.1.3

Getting Started

I recommend use NPM or Yarn as package management and install all dependencies using it, running yarn or npm install inside each folder (app and api).

If you have some issues related to permissions, just add the sudo command before yarn/npm command, as sudo yarn.

Environment Variables

One important thing before start running this project locally is set up all environment variables. You can set them for back-end creating a .env file on api folder root and following this structure:

  APP_DOMAIN=App Domain with port, probably http://locahost:3000 at this moment.
  MONGODB_USER=MongoDB user (connection)
  MONGODB_PASSWORD=MongoDB password (connection)

You should do the same on front-end, adding an .env file to app folder root:

  REACT_APP_API_URL=Api domain with port, probably http://localhost:3333 running it locally.

Running the project

To run the project after install all dependecies, you can just run yarn dev or npm run dev (Front-end) and yarn start:dev or npm run start:dev (Back-end).

Tests

You can run yarn test inside app folder for Front-end tests. Back-end does not have unit tests yet.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Gabriel Hahn Schaeffer

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

react-race-game's People

Contributors

dependabot[bot] avatar gabriel-hahn avatar

Stargazers

 avatar  avatar

Watchers

 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.