Skip to content

Instantly share code, notes, and snippets.

View solyakin's full-sized avatar
🎯
Focusing

solomon Akinlade solyakin

🎯
Focusing
View GitHub Profile
@zutigrm
zutigrm / cra-sitemap1.js
Last active April 16, 2023 02:00
Sitemap With Create React App
import { sitemapBuilder as buildSitemap } from 'react-router-sitemap';
import routes from '../routes';
import path from 'path'; // add path which will be needed for file write
import fs from 'fs'; // import file system object
// use your website root address here. Optimally you can
// include dev and production enviorenments with variable
const hostname = 'http://localhost:3000';
// define our destination folder and sitemap file name
@devhammed
devhammed / nigeria-state-and-lgas.json
Last active May 4, 2024 17:30
Nigeria States and LGAs in one JSON file
[
{
"state": "Adamawa",
"alias": "adamawa",
"lgas": [
"Demsa",
"Fufure",
"Ganye",
"Gayuk",
"Gombi",
@mofesolapaul
mofesolapaul / nigeria-states.json
Last active May 15, 2024 14:39
List of all Nigerian states, alphabetically arranged in JSON array
[
"Abia",
"Adamawa",
"Akwa Ibom",
"Anambra",
"Bauchi",
"Bayelsa",
"Benue",
"Borno",
"Cross River",