https://github.com/rohanvdvivedi/serc_template_application
This is a Project, to be used as a template application for the serc framework
https://github.com/rohanvdvivedi/serc_template_application
c serc template web-framework-application
Last synced: 12 days ago
JSON representation
This is a Project, to be used as a template application for the serc framework
- Host: GitHub
- URL: https://github.com/rohanvdvivedi/serc_template_application
- Owner: RohanVDvivedi
- Created: 2019-12-24T18:52:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-12-03T18:38:39.000Z (3 months ago)
- Last Synced: 2025-12-06T23:52:14.965Z (3 months ago)
- Topics: c, serc, template, web-framework-application
- Language: C
- Homepage:
- Size: 102 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serc_template_application
This is a Project, to be used as a template application for the [serc](https://github.com/RohanVDvivedi/serc.git) framework
### For setup before first run :
* you must install [serc](https://github.com/RohanVDvivedi/serc.git) *and its dependencies*.
### For setting up the https server :
* checkout main source file at src/main.c
* use appropriate https server run line
* add ssl certificates (you may use `make ssl_cert` for building self signed certificates)
### For managing your application :
* #### to update routing
* `make routes`
* this will create a source file "distributer.c" in your src folder, you need to compile it with your application and serc
* the above point is already taken care of by `make all`, read makefile and read serc source for more information.
* #### to built self signed ssl certificates and private/public keys (if you want to use https)
* `make ssl_cert`
* #### to clean all binaries (this will also delete the distributer.c source)
* `make clean`
* #### to build your application
* `make all`
* #### to run your application
* `sudo ./bin/app.out`