Skip to content

roxroy/regex-dojo

Repository files navigation

Regex Dojo

Web application to provide a fun environment to master regular expression syntax and usage.

User Story

  1. User can signup and have their progress saved / or you may target frontend only and save user progress to local storage
  2. User can “practice” to learn the concepts in a level
  3. User can “test” to complete a level and move to the next
  4. User can “fight” and compete against an AI opponent, matched to challenge at the user’s approximate level
  5. User rises in level as they complete sections
  6. User gains badges as they complete sections
  7. Cheat Sheet is available for reviewing concepts
  8. Implement profile allowing the user to outfit their avatar with items they earn via practicing, testing, and fighting.

Getting Started

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

Things you need to install to run the app:

  • Node
  • MongoDB

Installing

Get the repository

git clone https://github.com/roxroy/regex-dojo.git
cd regex-dojo
npm install

Make a copy of env.example as .env

cp env.example .env

Update the corresponding keys and credentials.

In a new terminal, go to the project folder, create a data folder and start mongo

mkdir data
mongod --dbpath=./data

In a new terminal, go to the project folder (folder with server.js) and run the following:

npm run start

Access the app through the browser, http://localhost:3000.

Deployment

Release build is optimized for deployment to Heroku and MLab. Don't forget to set environment variables on Heroku from .env.

Built With

Contributing

Please open any issues that you encounter on the GitHub repo issue page.

Authors

Acknowledgments

About

Learn to master Regular Expressions (regex).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published