This is the front end code for the iconic Mars Agrofarm company website, Mars Agrofarm & Supplies Ltd is committed to empowering smallholder farmers and small-scale vendors. Our focus on innovation and sustainability drives us to provide high-quality agricultural solutions that enhance productivity and promote social impact.
Vite + React and Styled Components Library for more control over styling rules.
If you wish to work with the files created for the front end code, you'll need to clone the repository and then Install site dependancies with npm, then run the development server to view the site in your browser.
- Cloning Repository.
git clone https://github.com/Mass-agrofarm/FrontEnd.git
- Installing site dependancies.
cd FrontEnd
npm install
- Running the development server locally.
npm run dev
- The site is configured to run in port 3000
That's it 😂. Congratulations on your build 🔥.
To deploy this project I have used netlify as the host provider, have netlify cli Installed on your machine. More on netlify cli here.
Now that we have these covered run:
- To preview the site in production, run.
npm run build
netlify deploy
- To push the code to production.
npm run build
netlify deploy --prod
Currently the site is live here.