Skip to content

This is a react based web app for playing a rummy style card game called Shanghai.

License

Notifications You must be signed in to change notification settings

claudiaareneee/shanghai

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn

Shanghai

This is a react based web app for playing a rummy style card game called Shanghai. The website is is live at:

Built With

The main technologies used in this project are:

Get Started

Make sure you have the following installed:

  1. Install Node 8 or newer. Need to run multiple versions of Node? Use nvm or nvm-windows
  2. Clone this repo: git clone https://github.com/claudiaareneee/shanghai.git
  3. Navigate to this project's root directory on the command line.
  4. Install Node packages npm install
  5. Install React developer tools and Redux Dev Tools in Chrome.
  6. Having issues? See below.

Having Issues? Try these things first

  1. Run npm install - If you forget to do this, you'll get an error when you try to start the app later.
  2. Don't run the project from a symbolic link. It will cause issues with file watches.
  3. On Windows? Open your console as an administrator. This will assure the console has the necessary rights to perform installs.
  4. Ensure you do not have NODE_ENV=production in your env variables as it will not install the devDependencies. To check run this on the command line: set NODE_ENV. If it comes back as production, you need to clear this env variable.
  5. Nothing above work? Delete your node_modules folder and re-run npm install.

Usage

To run this project locally, run the following command:

npm run start-dev

Heroku requires a simple server to be spun up. Heroku runs:

npm start

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

MIT

Contact

Your Name - claudiaareneee@gmail.com

Project Link: https://github.com/claudiaareneee/shanghai/

Acknowledgements

Production Dependencies

Dependency Use
bootstrap CSS Framework
express Server library to help deploy to heroku
express-favicon Companion library for express
firebase Firebase library for the backend database
immer Helper for working with immutable data
prop-types Declare types for props passed into React components
node-sass Node.js bindings to libsass
react React library
react-dom React library for DOM rendering
react-redux Connects React components to Redux
react-router-dom React library for routing
react-toastify Display messages to the user
redux Library for unidirectional data flows
redux-thunk Async redux library
reselect Memoize selectors for performance

About

This is a react based web app for playing a rummy style card game called Shanghai.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published