This project contains a message board which allows users to post markdown enabled comments witin various communities (similar to subreddits). This project is built to help you get started with AWS CodeStar. It contains everything you'd need to get started with a realistic Node.js application.
- Express.js - The server which handles all the post requests for content.
- Redis - Caching and displaying the data for the chart.
- DynamoDB - Storing all the messages on the board.
.ebextensions/- Contains the configuration files that AWS Elastic Beanstalk will deploy your Express application.
package.json- Contains various metadata and dependencies.
app.js- The entrypoint for our express app.
public/- Directory contains static web assets used by the application.
Getting Started Locally
These directions assume you want to develop on your local computer, and not from the Amazon EC2 instance itself. If you are ready to deploy this to AWS, then skip to the next section.
Install Node.js on your computer. For details on available installers visit
Install NPM dependencies:
$ npm install
.envand place your
REDIS_HOSTright after the respective
Make sure you have redis installed locally. Use the
$ redis-servercommand to run a redis server on your localhost.
Create a DynamoDB table called
Start the development server:
$ node app.js
http://127.0.0.1:3000/in a web browser to view your application.
Deploying to AWS using CodeStar
(instructions coming soon)