Description | Requirements | Technologies | Layout | Usage | Demonstration
JobsCalc is a calculation estimation application for freelance projects, where it is possible to register and exclude jobs (projects), obtaining a cost estimate for each job. Furthermore, it is possible to plot the time value of the person who will be using the system.
Project developed in my first rocketseat marathon, in a way that changed my way of seeing my professional career and my motivation to study. Taught by Mayk Brito and Jakeliny Gracielly from Discover 2021.
- NodeJs
- Javascript
- Express
- TypeORM
- SqlServer
- HTML
- EJS
- CSS
- JavaScript
You can view the project layout via this link.
You can clone it on your pc using the command:
git clone https://github.com/Lissone/jobs-calc.git
cd jobs-calc
Install dependencies using:
yarn
#or
npm install
You must create the database before running an api (dbJobsCalc).
// .\src\config\dbConfig.js
const connection = createConnection({
type: 'mssql',
host: process.env.DB_HOST,
port: 1433,
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
database: process.env.DB_NAME,
entities: [**Entities**],
synchronize: true,
logging: false,
options: {
enableArithAbort: true
}
})
Need to add environment variables:
# ./.env
# DEFAULT
PORT=5000
DB_USERNAME=sa
DB_PASSWORD=123456
DB_NAME=dbJobsCalc
DB_HOST=localhost
Run application:
yarn dev
#or
npm run dev
Distributed under the MIT License. See LICENSE
for more information.