CodeChef is an online developer tool that aims to eliminate repetitive developer tasks and automate what could be automated.
- C# to TypeScript converter
Converts C# classes and fields to typescript interfaces and fields. - Markdown to HTML converter
Converts Markdown code to HTML code. - Serialized tool
Converts serialized objects between different formats(JSON, XML, YAML, TOML). - MSSQL Scaffolder
Scaffolds C# Models from MSSQL Tables and Stored Procedures. - Need more tools?
Open issue/pull request, Everyone is welcome for contribution.
You can Go to Live Website or Run the website locally.
This project was generated with Angular CLI version 18.2.9.
Run npm run start
or ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run npm run build
or ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run test
or ng test
to execute the unit tests via Karma.
If you want to use any of the tools that need to communicate with the MSSQL database, you need to download and run the proxy server, you can either download the binaries for your machine from the Release section or download the proxy Source Code and run it in your python environment.
Download the proper version from the release section and run it!!
-p --port <proxy port>
-o --allowed-origin <allowed origin (ex. http://localhost:4200)>
Follow these steps if you want to Run the mssql-proxy from the Python source code:
- Download the mssql-proxy Python source code from the release section.
pip install -r requirements.txt
python proxy.py
CodeChef docker image contains both the Frontend and mssql-proxy.
docker pull ghcr.io/ipdotsetaf/codechef:latest
docker run --name codechef -d -p 4200:4200 -p 50505:50505 ghcr.io/ipdotsetaf/codechef:latest
docker run --name codechef -d -e ALLOWED_ORIGIN="http://localhost:<FRONTEND_PORT>" -p <FRONTEND_PORT>:4200 -p 50505:50505 ghcr.io/ipdotsetaf/codechef:latest
The allowed origin will be the URL that will serve the Fronend and the browser access it with.
docker run --name codechef -d -p 4200:4200 -p <PROXY_PORT>:50505 ghcr.io/ipdotsetaf/codechef:latest
Important
You need to make sure that the CodeChef container and your mssql-server are on the same network and know the mssql-server IP address exposed on that network. that will be the IP address you use on the CodeChef website.
TBD...
- MSSQL Diff Tool
- MSSQL Search Tool
- MSSQL Bulk Scaffolder
- MSSQL Scaffolder string search for inputs
- MSSQL Scaffolder file export
- You can open Issues for any bug report or feature request.
- You are free to contribute to this project by following these steps:
- Fork this Repo.
- Create a new branch for your feature/bugfix in your forked Repo.
- Commit your changes to the new branch you just made.
- Create a pull request from your branch into the
main
branch of This Repo(https://github.com/IPdotSetAF/CodeChef).