import express, { Express, Request, Response, NextFunction } from "express";
import cors from "cors";
const PORT = 3000;
const app: Express = express();
app.use(cors());
app.use(express.json());
app.get("/about", (req: Request, res: Response) => {
res.status(200).json({
fullName: "Muhammed Fasil K",
interests: [
"coding 💻",
"movie 🎬",
"music 🎧",
"photography 📷",
"travel 🧳",
"coffee ☕",
],
askMeAbout: ["web dev", "mobile dev", "movies"],
technologies: {
programmingLanguages: [
"C",
"C++",
"Java",
"Python",
"PHP",
"Ruby",
"Bash",
"TypeScript",
],
frontEnd: ["HTML", "CSS", "JavaScript", "ReactJS", "Next.js"],
backEnd: ["Node.js", "Express.js", "NestJS"],
databases: ["MongoDB", "MySQL", "PostgreSQL"],
testing: ["Jest"],
animationLibraries: ["Framer Motion", "GSAP", "AOS"],
apiTechnologies: ["REST", "GraphQL"],
otherLibraries: [
"Redux Toolkit",
"Tailwind CSS",
"Bootstrap",
"Figma",
"Pug",
"EJS",
"JSON",
"Data Structures and Algorithms",
"Zod",
],
},
});
});
app.get("/contact", (req: Request, res: Response) => {
res.status(200).json({
email: "muhammedfasilofficial@gmail.com",
portfolio: "https://fasils.vercel.app",
links: {
linkedin: "https://www.linkedin.com/in/fasilofficial",
leetcode: "https://leetcode.com/fasilofficial",
medium: "https://medium.com/@mfasilofficial",
},
});
});
app.use((req: Request, res: Response, next: NextFunction) => {
res.status(404).json({ message: "Oops! Route not found" });
});
app.use((err: any, req: Request, res: Response, next: NextFunction) => {
console.error(err.stack);
res.status(500).json({ message: "Internal Server Error" });
});
app.listen(PORT, () => {
console.log(`Server is running on http://localhost:${PORT}`);
});
🎯
Focus
Autodidactic Full Stack Developer | Proficient in Javascript, Node.js, MongoDB, Reactjs and Nextjs
-
GX Studios
- Nilambur, Kerala
- https://fasils.netlify.app/
- in/mfasilofficial
- https://medium.com/@mfasilofficial
- https://leetcode.com/fasilofficial/
Highlights
Block or Report
Block or report fasilofficial
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
fash-on
fash-on PublicFash-on is a e-commerce web application developed using Node.js, Express.js, and MongoDB
EJS
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.