Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Monte Carlo

Get PI via the Monte Carlo method

Front-end

The front-end is built using Svelte + TypeScript. Follow these steps to run:

  1. Create a .env file.

  2. Set the key in .env:

    PUBLIC_BASEURL=http://127.0.0.1:8000
    
  3. Run npm i, then npm run dev.

Back-end

The back-end is built using FastAPI and Python. Follow these steps to run:

  1. Create a .env.dev file based on the .env.example file.
  2. Run one of the following:
    • docker build -t montecarlo . followed by docker run -p 8000:8000 montecarlo
    • or poetry shell followed by uvicorn api.main:app --reload

Resources

Here are some useful resources I used to complete this task:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages