Keep track of your supplements with NutriStack.
Simplified overview of project's tech stack:
- Client Side
- Angular
- Angular UI Router
- Materialize (CSS)
- Server Side
- Node
- Express
- Postgres
- Sequelize
Using the Angular team approved style guide by John Papa. App was designed with modularity and code reuse in mind.
General JavaScript code styling was following the industry-approved Airbnb method.
Important: Please follow the directions in order to setup the necessary local user and PostgreSQL database - proper local functionality and testing relies on this.
To setup your database locally:
- Install Postgres.app
- full-featured PostgreSQL installation w/
psql
CLI - http://postgresapp.com/
- Install Postico [optional]
- PostgreSQL Client for OSX aka GUI
- https://eggerapps.at/postico/
- Use psql, the Postgres CLI, to create needed database and authorized user
- From your terminal, enter
psql
and hit enter - Now that
psql
is running, go ahead and create the user *CREATE USER admin WITH SUPERUSER;
*ALTER USER admin WITH PASSWORD 'admin';
*SET ROLE admin;
*CREATE DATABASE nutristack;
- Double check that your Postgres.app is running from your OSX toolbar, it should indicate that the port you are using is 5432
- You're successfully setup for Postgres to use nutristack!