Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


JobsCalc logo


Description   |   
Requirements   |   
Technologies   |   
Layout   |   
Usage   |   
Demonstration





License
Repo size
Top lang
Stars repo
Forks repo
Pull requests
Last commit


Report bug
·
Request feature


## 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.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:

```bash
# ./.env

# DEFAULT
PORT=5000

DB_USERNAME=sa
DB_PASSWORD=123456
DB_NAME=dbJobsCalc
DB_HOST=localhost
```

Run application:

```bash
yarn dev
#or
npm run dev
```

## Demonstration


jobscalc demo

## License

Distributed under the MIT License. See `LICENSE` for more information.


Made with ❤️ by Lissone