The Leave No Medic Behind Initiative Charity Run is a fundraising project by the Association of Medical Students of the University of Nairobi (AMSUN) to meet the financial needs of underprivileged students in the School of Medicine.
It began in 2017 when the then 5th year MBChB Class had a classmate who was almost denied to sit for their end of year exams because of a fees balance of less than sh 20,000. His classmates rallied together, each giving what they could and with that the student was able to sit for his exams and hence LNMB was born.
From 2017 to 2021, LNMB has primarily done student-centered funds drive using the harambee model however in 2022 there emerged the idea to organise for a charity run.
The project is being run in conjunction with the AMSUN Running Club- a registered club of runners in the School of Medicine. The project involves raising funds from sponsors and well-wishers plus the sale of T-shirts to participants who will take part in the run.
- Welcoming any changes, refactoring and issues
- Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- Express - Fast, unopinionated, minimalist web framework for Node.js
- Ejs - Embedded JavaScript templating
- Mongoose - elegant mongodb object modeling for node.jssupport, relations, eager and lazy loading, read replication and more.
- MongoDb - NoSQL database built for modern application architectures
Install node, using the Node Version Manager.
On your terminal, run npm install
, and create a config/config.env
file using the sample.env
file.
- Install node and npm.
- Node can be installed from the official website. Install it.
- check node version use WIN+R => cmd => node -v
- check npm version use WIN+R => cmd => npm -v
To update npm (i = install, -g = global)
npm i -g npm@latest # npm install -g npm@latest
To find npm on your machine`, run
%AppData%\npm
On Windows, if still unsuccessful, try this blog by Jaydeep Patadiya
Afterwards, on your terminal, run npm install
, and create a config/config.env
file using the sample.env
file.
N.B: If you want to make a frontend change without dealing with the backend, the code will run if you comment out the connectDb()
function in index.js
Fork this repository.
git clone git@github.com:wechulisimiyu/leave-no-medic-behind.git
cd leave-no-medic-behind
npm install
- I am using SSH-based authentication. The alternative for token-based authentication is:
https://github.com/wechulisimiyu/leave-no-medic-behind.git
- Type
npm run dev
to start the server from your terminal
Included with the code is a sample.env file with fields you will need to configure