Skip to content

Full Stack Web Application for business management

License

Notifications You must be signed in to change notification settings

HouseGreyjoy/bmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StartupForce

StartupForce is a fullstack Javascript web application that provides tools to assist small businesses in the management of day-to-day operations.

StartupForce uses React/Redux, NodeJS, and PostgreSQL and Firebase databases.

When employees log in, they see their schedule for the week. Managers can adjust the schedules of employees they manage.

Employees can send direct messages to each other, and receive notifications when they have unread messages.

Managers can onboard new employees to the company, and track contracts and revenue with data analytics.

To work with the StartupForce codebase:

This application requires a Postgres database, a Firebase real-time database, and a Cloudinary account for photo upload.

Step 1

Fork and clone down the repo.

Step 2

Run npm install to get the node modules required to run the application.

$ npm install

Step 3

Create a Postgres database 'bmt', from the Postgres CLI:

\c bmt

For a handy Postgres command cheat sheet, see: https://gist.github.com/Kartones/dd3ff5ec5ea238d4c546

Step 4

Run the repo schema file to create tables and populate with dummy data:

$ psql -d bmttools -a -f schema.sql

Step 5

Create a file 'config.js' within the 'server' folder and include the following:

module.exports = {
  cloudName: '/* your Cloudinary account name */',
  uploadPreset: '/* your Cloudinary upload preset */',
  pgUser: '/* your local username */',
  pgHost: 'localhost',
  pgPassword: '',
  pgDatabase: 'bmt',
  pgPort: 5432
}

Step 6

Within client/src/firebase.js, change the config settings to reflect your firebase real-time database account information:

const config = {
  apiKey: "/* your API key */",
  authDomain: /* your firebase project id */ + ".firebaseapp.com",
  databaseURL: "https://" + /* your firebase project id */ + ".firebaseio.com",
  projectId: "" + /* your firebase project id */+ "",
  storageBucket: ""
};

Step 7

Run the following to start the server and build the webpack:

$ npm run server-dev
$ npm run react-dev

Enjoy!

About

Full Stack Web Application for business management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •