Giter VIP home page Giter VIP logo

freelance-salary-calculator's Introduction

Freelance Salary Calculator

Based on the labour law in Bulgaria and the National Revenue Agency regulations.

Tech stack

This is a web application built with NextJS, MongoDB, React, Material UI, TypeScript, NodeJS.

Running locally

First clone this repostory or download it from Github.

Then, when extracted, install the dependencies:

yarn

Then, configure the local environment by copying the .env.local.example file to .env.local file.

In the .env.local file add the following variables:

# API key from https://currencyapi.com/
CURRENCY_API_ENPOINT_TOKEN='<YOUR_TOKEN_FROM_CURRECNY_API>'

# Mongo DB URI
MONGODB_URI=mongodb+srv://<USERNAME>:<PASSWORD>@cluster0.xc0hboq.mongodb.net/<DBNAME>?retryWrites=true&w=majority

Then, to run the local development server, run

yarn dev

To lint the code using ESLint, run

yarn lint

To prettify the codebase using Prettier, run

yarn prettier

To build the code for production deployment, run

yarn build

Deploying to Vercel

Simply link your cloned Github repository with your Vercel account. When this is done, Vercel will automatically pick up the configuration and scripts which it needs. If you're linking a local repository, you can use the Vercel CLI.

Don't forget to set up the environmental variables from above in your Vercel project's dashboard.

License

MIT

freelance-salary-calculator's People

Contributors

dependabot[bot] avatar renovate[bot] avatar scriptex avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.