Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lissone/jobs-calc
Calculation estimation application for freelance projects.
https://github.com/lissone/jobs-calc
css ejs html javascript mvc-architecture nodejs sql-server typeorm
Last synced: 26 days ago
JSON representation
Calculation estimation application for freelance projects.
- Host: GitHub
- URL: https://github.com/lissone/jobs-calc
- Owner: Lissone
- Created: 2021-03-26T01:38:10.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-04T22:16:15.000Z (about 3 years ago)
- Last Synced: 2024-11-15T05:25:27.280Z (3 months ago)
- Topics: css, ejs, html, javascript, mvc-architecture, nodejs, sql-server, typeorm
- Language: EJS
- Homepage:
- Size: 232 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
Description |
Requirements |
Technologies |
Layout |
Usage |
Demonstration
![]()
![]()
![]()
![]()
![]()
![]()
![]()
## Description
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.
## Requirements
- [Nodejs](https://nodejs.org/en/)
- [Npm](https://www.npmjs.com/)
- [Yarn](https://yarnpkg.com/)
- [SqlServer](https://www.microsoft.com/pt-br/sql-server/sql-server-downloads)## Technologies
### Backend (Api)
- NodeJs
- Javascript
- Express
- TypeORM
- SqlServer### Front End
- HTML
- EJS
- CSS
- JavaScript## Layout
You can view the project layout via this link.
## Usage
You can clone it on your pc using the command:
```bash
git clone https://github.com/Lissone/jobs-calc.git
cd jobs-calc
```Install dependencies using:
```bash
yarn
#or
npm install
```### Database configuration
You must create the database before running an api (dbJobsCalc).
```typescript
// .\src\config\dbConfig.jsconst 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:
```bash
# ./.env# DEFAULT
PORT=5000DB_USERNAME=sa
DB_PASSWORD=123456
DB_NAME=dbJobsCalc
DB_HOST=localhost
```Run application:
```bash
yarn dev
#or
npm run dev
```## Demonstration
![]()
## License
Distributed under the MIT License. See `LICENSE` for more information.
Made with ❤️ by Lissone