Coder Social home page Coder Social logo

anonyboard's Introduction

Anonyboard

Anonyboard is an anonymous messaging board. There are no accounts, you manage your posts using a password. This is a project on FreeCodeCamp

Try it out on Heroku: https://gentle-cliffs-22758.herokuapp.com/

Getting Started ( WIP )

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • NodeJS & NPM
  • MongoDB ( installed and running )
  • Git ( optional )
  • Port 3000 open for the client & 5000 for the server

Installing

A step by step series of examples that tell you have to get a development env running

  1. Clone or download the repository's zip file
git clone [email protected]:CodeDraken/anonyboard.git

Setting up the Server

  1. CD into the folder and download the NPM packages by using npm install or yarn if you have Yarn.
cd anonyboard
yarn
  1. Once the packages are installed you can start the server and the test suite. I recommend having two terminals or tabs open then run the following commands: ( see full list of commands in package.json )

Terminal 1

yarn start-watch

Terminal 2

yarn test-watch

The server and test suite will watch for changes and automatically restart. The server uses port 5000. This is only the API server, we will setup the client next.

Setting up the Client

The client uses create-react-app as a boilerplate.

  1. CD into the client folder and download the NPM packages by using npm install or yarn if you have Yarn.
cd client
yarn
  1. Once the packages are installed you can start the dev server and the test suite. I recommend having two terminals or tabs open then run the following commands: ( see full list of commands in client/package.json )

Terminal 1

yarn start

Terminal 2

yarn test

Create-react-app and the test suite will watch for changes and automatically restart. A browser window should automagically open and go to port 3000.

Running the tests

For the server

Mocha and Expect is used for testing on the server.

yarn test-watch

For the client

Jest is used for testing on the client.

yarn test

Coding style tests

This project uses the Standard coding style. You can lint by running

yarn lint

Deployment

Add additional notes about how to deploy this on a live system

Built With

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.

Authors

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

Acknowledgments

  • Inspired by Reddit and designs on Dribbble
  • FreeCodeCamp for the project idea

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.