Coder Social home page Coder Social logo

aazam-gh / appointment-reminders-node Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twiliodeved/appointment-reminders-node

0.0 0.0 0.0 1.69 MB

Node implementation of Appointment Reminders

Home Page: https://www.twilio.com/docs/tutorials/walkthrough/appointment-reminders/node/express

License: MIT License

Shell 1.07% JavaScript 69.83% CSS 0.41% Pug 28.70%

appointment-reminders-node's Introduction

Twilio

Appointment Reminders. Powered by Twilio - Node.js/Express

Node.js CI

Use Twilio to create automatic appointment reminders for your business users. For a step-by-step tutorial see twilio docs.

Local development

First you need to install Node.js.

  1. This sample application stores data in a MongoDB database using Mongoose. You can download and run MongoDB yourself (on OS X, Linux or Windows).

    On OS X, maybe the easiest way to get MongoDB running locally is to install it via Homebrew.

    brew tap mongodb/brew
    brew install mongodb-community

    You should then be able to run a local server with:

    mongod

To run the app locally:

  1. Clone this repository and cd into it

    git clone [email protected]:TwilioDevEd/appointment-reminders-node.git
    
    cd appointment-reminders-node
  2. Install dependencies

    npm install
  3. Copy the sample configuration file and edit it to match your configuration

    cp .env.example .env

    You can find your TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN in your Twilio Account Settings. You will also need a TWILIO_PHONE_NUMBER, which you may find here.

    You can reuse the MONGO_URL_TEST for MONGO_URL for most default installs. Otherwise, use your production Mongo installation.

    Run source .env to export the environment variables

  4. Run the application

    npm start

    Alternatively you might also consider using nodemon for this. It works just like the node command but automatically restarts your application when you change any source code files.

    npm install -g nodemon
    nodemon ./bin/www
  5. Check it out at http://localhost:3000

That's it

Run the tests

You can run the tests locally by typing

npm test

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

appointment-reminders-node's People

Contributors

nebtrx avatar joliveros avatar hortega avatar alexisbcc avatar smendes avatar bld010 avatar dprothero avatar jefflinwood avatar pkamp3 avatar kathyguerron avatar mcelicalderon avatar mateustav avatar dependabot-preview[bot] avatar garethpaul avatar onlywade 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.