Project Overview Teamwork is an internal social network for employees of an organization. The goal of this application is to facilitate more interaction between colleagues and promote team bonding. An in-depth paragraph about your project and overview of use.
Clone the repo
git clone https://github.com/your_username_/Project-Name.git
Install NPM packages
npm install
Create a .env file .env
and update with env variables (check the .env.sample)
To run the test locally for the project, create a file called .env.test
and update it with test env variables (check the .env.sample).
PS.
i. The .env.test contains the env variables for the test environment
ii. Ensure that you use a different database name in the .env.test. This is because in the test environment the database will always be dropped.
<p align="right">(<a href="#top">back to top</a>)</p>
npm run dev
Runs the app in the development mode.\The page will reload when you make changes.\ You may also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode.\
npm run seeddb
seeds the database with users data.\
Any advise for common problems or issues.
For context, a migration is basically a file that is run to make changes to the existing database structure or schema. For example, adding a new column, making a column required/optional/unique, dropping a column, inserting data and more.
To create a new migration. Kindly follow the steps outlined below:
npm run migrate create {migration-name}
NB: Change {migration-name}
to the actual name of the migration. The name should represent the change you're making so it is readable. See the existing names in the migrations
folder
Contributors names and contact info
ex. Dominique Pizzie
ex. @DomPizzie
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
This project is licensed under the [NAME HERE] License - see the LICENSE.md file for details
Inspiration, code snippets, etc.